public class RTSCommonEvent extends java.lang.Object implements RTSData
| Modifier and Type | Field and Description |
|---|---|
protected RTSDataImpl |
data |
protected RTSEventType |
event |
| Constructor and Description |
|---|
RTSCommonEvent(RTSEventType event,
RTSDataImpl data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccount()
Get the peer account
The method is valid for one-to-one calls
|
long |
getChannelId()
Get the channel ID assigned by the server
|
RTSEventType |
getEvent() |
java.lang.String |
getExtra()
Get the exta info from the sender
|
java.lang.String |
getLocalSessionId()
Get the ID of a local session
|
long |
getTimeTag()
Get the timestamp of the current event
|
java.util.List<RTSTunnelType> |
getTunnelTypes()
Get the channel types
|
void |
setLocalSessionId(java.lang.String sessionId) |
protected RTSEventType event
protected RTSDataImpl data
public RTSCommonEvent(RTSEventType event, RTSDataImpl data)
public RTSEventType getEvent()
public void setLocalSessionId(java.lang.String sessionId)
public java.lang.String getLocalSessionId()
RTSDatagetLocalSessionId in interface RTSDatapublic long getChannelId()
RTSDatagetChannelId in interface RTSDatapublic java.lang.String getAccount()
RTSDatagetAccount in interface RTSDatapublic java.util.List<RTSTunnelType> getTunnelTypes()
RTSDatagetTunnelTypes in interface RTSDatapublic java.lang.String getExtra()
RTSDatapublic long getTimeTag()
RTSDatagetTimeTag in interface RTSData