Open Kilda Java Documentation
org.openkilda.simulator.messages.SwitchMessage Class Reference
Inheritance diagram for org.openkilda.simulator.messages.SwitchMessage:

Public Member Functions

 SwitchMessage (@JsonProperty("dpid") SwitchId dpid, @JsonProperty("num_of_ports") int numOfPorts, @JsonProperty("links") List< LinkMessage > links)
 
String toString ()
 
SwitchId getDpid ()
 
int getNumOfPorts ()
 
List< LinkMessagegetLinks ()
 

Detailed Description

Definition at line 22 of file SwitchMessage.java.

Constructor & Destructor Documentation

◆ SwitchMessage()

org.openkilda.simulator.messages.SwitchMessage.SwitchMessage ( @JsonProperty("dpid") SwitchId  dpid,
@JsonProperty("num_of_ports") int  numOfPorts,
@JsonProperty("links") List< LinkMessage links 
)

Definition at line 32 of file SwitchMessage.java.

Member Function Documentation

◆ getDpid()

SwitchId org.openkilda.simulator.messages.SwitchMessage.getDpid ( )

Definition at line 48 of file SwitchMessage.java.

◆ getLinks()

List<LinkMessage> org.openkilda.simulator.messages.SwitchMessage.getLinks ( )

Definition at line 56 of file SwitchMessage.java.

◆ getNumOfPorts()

int org.openkilda.simulator.messages.SwitchMessage.getNumOfPorts ( )

Definition at line 52 of file SwitchMessage.java.

◆ toString()

String org.openkilda.simulator.messages.SwitchMessage.toString ( )

Definition at line 41 of file SwitchMessage.java.


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