public class TunnelConnectionNtf extends Message
Tunnel when a connector connects or disconnects.
This message carries a TunnelStatus event, a connection ID (connID), and
the name of the connector.
| Constructor and Description |
|---|
TunnelConnectionNtf() |
TunnelConnectionNtf(AgentID recipient,
TunnelStatus status,
int connID,
java.lang.String name) |
TunnelConnectionNtf(TunnelStatus status,
int connID,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnID() |
TunnelStatus |
getEvent() |
java.lang.String |
getName() |
void |
setConnID(int connID) |
void |
setEvent(TunnelStatus status) |
void |
setName(java.lang.String name) |
java.lang.String |
toString()
Gets a string representation of the message.
|
getInReplyTo, getJsonCache, getMessageID, getPerformative, getRecipient, getSender, getSentAt, setInReplyTo, setJsonCache, setMessageID, setPerformative, setRecipient, setSender, setSentAtpublic TunnelConnectionNtf()
public TunnelConnectionNtf(TunnelStatus status, int connID, java.lang.String name)
public TunnelConnectionNtf(AgentID recipient, TunnelStatus status, int connID, java.lang.String name)
public TunnelStatus getEvent()
public void setEvent(TunnelStatus status)
public int getConnID()
public void setConnID(int connID)
public java.lang.String getName()
public void setName(java.lang.String name)