Open Kilda Java Documentation
org.openkilda.wfm.ctrl.RouteMessage Class Reference
Inheritance diagram for org.openkilda.wfm.ctrl.RouteMessage:
org.openkilda.wfm.protocol.BoltToBoltMessage< T > org.openkilda.wfm.protocol.JsonMessage< T > org.openkilda.wfm.protocol.AbstractMessage

Public Member Functions

 RouteMessage (Tuple raw) throws MessageFormatException
 
 RouteMessage (RequestData payload, String correlationId, String topology)
 
String getTopology ()
 
- Public Member Functions inherited from org.openkilda.wfm.protocol.BoltToBoltMessage< T >
 BoltToBoltMessage (Tuple raw) throws MessageFormatException
 
 BoltToBoltMessage (T payload, String correlationId)
 
String getCorrelationId ()
 
- Public Member Functions inherited from org.openkilda.wfm.protocol.JsonMessage< T >
 JsonMessage (Tuple raw) throws MessageFormatException
 
 JsonMessage (T payload)
 
getPayload ()
 
- Public Member Functions inherited from org.openkilda.wfm.protocol.AbstractMessage
List< Object > pack () throws JsonProcessingException
 

Static Public Attributes

static final String FIELD_ID_TOPOLOGY = "topology"
 
static final Fields FORMAT = new Fields(FIELD_ID_JSON, FIELD_ID_TOPOLOGY, FIELD_ID_CORRELATION_ID)
 
- Static Public Attributes inherited from org.openkilda.wfm.protocol.BoltToBoltMessage< T >
static String FIELD_ID_CORRELATION_ID = "Correlation-Id"
 
static Fields FORMAT
 
- Static Public Attributes inherited from org.openkilda.wfm.protocol.JsonMessage< T >
static final String FIELD_ID_JSON = "json"
 
static final Fields FORMAT = new Fields(FIELD_ID_JSON)
 

Protected Member Functions

RequestData unpackJson (String json) throws IOException
 
Object packField (String fieldId) throws JsonProcessingException
 
Fields getFormat ()
 
- Protected Member Functions inherited from org.openkilda.wfm.protocol.BoltToBoltMessage< T >
Object packField (String fieldId) throws JsonProcessingException
 
Fields getFormat ()
 
- Protected Member Functions inherited from org.openkilda.wfm.protocol.JsonMessage< T >
abstract T unpackJson (String json) throws IOException
 
Object packField (String fieldId) throws JsonProcessingException
 
Fields getFormat ()
 
- Protected Member Functions inherited from org.openkilda.wfm.protocol.AbstractMessage
Object packField (String fieldId) throws JsonProcessingException
 
abstract Fields getFormat ()
 

Detailed Description

Definition at line 13 of file RouteMessage.java.

Constructor & Destructor Documentation

◆ RouteMessage() [1/2]

org.openkilda.wfm.ctrl.RouteMessage.RouteMessage ( Tuple  raw) throws MessageFormatException

Definition at line 19 of file RouteMessage.java.

◆ RouteMessage() [2/2]

org.openkilda.wfm.ctrl.RouteMessage.RouteMessage ( RequestData  payload,
String  correlationId,
String  topology 
)

Definition at line 24 of file RouteMessage.java.

Member Function Documentation

◆ getFormat()

Fields org.openkilda.wfm.ctrl.RouteMessage.getFormat ( )
protected

Definition at line 43 of file RouteMessage.java.

◆ getTopology()

String org.openkilda.wfm.ctrl.RouteMessage.getTopology ( )

Definition at line 47 of file RouteMessage.java.

◆ packField()

Object org.openkilda.wfm.ctrl.RouteMessage.packField ( String  fieldId) throws JsonProcessingException
protected

Definition at line 35 of file RouteMessage.java.

◆ unpackJson()

RequestData org.openkilda.wfm.ctrl.RouteMessage.unpackJson ( String  json) throws IOException
protected

Definition at line 30 of file RouteMessage.java.

Member Data Documentation

◆ FIELD_ID_TOPOLOGY

final String org.openkilda.wfm.ctrl.RouteMessage.FIELD_ID_TOPOLOGY = "topology"
static

Definition at line 14 of file RouteMessage.java.

◆ FORMAT

final Fields org.openkilda.wfm.ctrl.RouteMessage.FORMAT = new Fields(FIELD_ID_JSON, FIELD_ID_TOPOLOGY, FIELD_ID_CORRELATION_ID)
static

Definition at line 15 of file RouteMessage.java.


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