Package org.onosproject.cpman
Class ControlResourceRequest
- java.lang.Object
-
- org.onosproject.cpman.ControlResourceRequest
-
public class ControlResourceRequest extends java.lang.Object
A container class that is used to request available resource of remote node.
-
-
Constructor Summary
Constructors Constructor Description ControlResourceRequest(ControlResource.Type type)
Instantiates a new control resource request of the control resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ControlResource.Type
getType()
Obtains control resource type.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ControlResourceRequest
public ControlResourceRequest(ControlResource.Type type)
Instantiates a new control resource request of the control resource type.- Parameters:
type
- control resource type
-
-
Method Detail
-
getType
public ControlResource.Type getType()
Obtains control resource type.- Returns:
- control resource type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-