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()
RTSData
getLocalSessionId
in interface RTSData
public long getChannelId()
RTSData
getChannelId
in interface RTSData
public java.lang.String getAccount()
RTSData
getAccount
in interface RTSData
public java.util.List<RTSTunnelType> getTunnelTypes()
RTSData
getTunnelTypes
in interface RTSData
public java.lang.String getExtra()
RTSData
public long getTimeTag()
RTSData
getTimeTag
in interface RTSData