Open Kilda Java Documentation
org.openkilda.messaging.ctrl.RequestData Class Reference
Inheritance diagram for org.openkilda.messaging.ctrl.RequestData:
org.openkilda.messaging.BaseMessage org.openkilda.messaging.ctrl.DumpStateBySwitchRequestData

Public Member Functions

 RequestData ( @JsonProperty("action") final String action)
 
String getAction ()
 
- Public Member Functions inherited from org.openkilda.messaging.BaseMessage
 BaseMessage (@JsonProperty(TIMESTAMP) final long timestamp)
 
 BaseMessage ()
 
long getTimestamp ()
 
void setTimestamp (long timestamp)
 

Additional Inherited Members

- Static Public Member Functions inherited from org.openkilda.messaging.BaseMessage
static final< T extends BaseMessage > T getMessage (String json, Class< T > type) throws java.io.IOException
 
static final< T extends BaseMessage > T tryGetMessage (String json, Class< T > type)
 
- Protected Attributes inherited from org.openkilda.messaging.BaseMessage
long timestamp = 0L
 

Detailed Description

Defines the payload of a Message representing an command.

Definition at line 31 of file RequestData.java.

Constructor & Destructor Documentation

◆ RequestData()

org.openkilda.messaging.ctrl.RequestData.RequestData ( @JsonProperty("action") final String  action)

Instance constructor.

Parameters
actionctrl function name
Exceptions
IllegalArgumentExceptionif any of mandatory parameters is null

Definition at line 50 of file RequestData.java.

Member Function Documentation

◆ getAction()

String org.openkilda.messaging.ctrl.RequestData.getAction ( )

Definition at line 55 of file RequestData.java.


The documentation for this class was generated from the following file: