Package org.onosproject.cpman
Class ControlResourceRequest
- java.lang.Object
-
- org.onosproject.cpman.ControlResourceRequest
-
public class ControlResourceRequest extends 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(Object obj)
ControlResource.Type
getType()
Obtains control resource type.int
hashCode()
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
-
-