public final class Control extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Control.MessageState
Type of RESPONSE message.
|
static class |
Control.Type
Type of Message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAckSequence()
Gets the ack sequence.
|
String |
getCorrelationId()
Gets the correlation id.
|
Control.MessageState |
getMessageState()
Gets the message state.
|
String |
getPackageType()
Gets the package type.
|
Integer |
getSequence()
Gets the sequence.
|
String |
getSessionId()
Gets the session id.
|
String |
getSubSessionId()
Gets the sub session id.
|
Control.Type |
getType()
Gets the type.
|
String |
getVersion()
Gets the version.
|
String |
getWscId()
Gets the WebRTC Session Controller id.
|
void |
setAckSequence(int ackSequence)
Sets the ack sequence.
|
void |
setCorrelationId(String correlationId)
Sets the correlation id.
|
void |
setMessageState(Control.MessageState messageState)
Sets the message state.
|
void |
setPackageType(String packageType)
Sets the package type.
|
void |
setSequence(int sequence)
Sets the sequence.
|
void |
setSessionId(String sessionId)
Sets the session id.
|
void |
setSubSessionId(String subSessionId)
Sets the sub session id.
|
void |
setType(Control.Type type)
Sets the type.
|
void |
setVersion(String version)
Sets the version.
|
void |
setWscId(String wscId)
Sets the WebRTC Session Controller id.
|
String |
toString() |
public static final String KEY
public Control.Type getType()
public void setType(Control.Type type)
type
- the new typepublic Control.MessageState getMessageState()
public void setMessageState(Control.MessageState messageState)
messageState
- the new message statepublic String getVersion()
public void setVersion(String version)
version
- the new versionpublic Integer getSequence()
public void setSequence(int sequence)
sequence
- the new sequencepublic String getSessionId()
public void setSessionId(String sessionId)
sessionId
- the new session idpublic String getSubSessionId()
public void setSubSessionId(String subSessionId)
subSessionId
- the new sub session idpublic String getCorrelationId()
public void setCorrelationId(String correlationId)
correlationId
- the new correlation idpublic Integer getAckSequence()
public void setAckSequence(int ackSequence)
ackSequence
- the new ack sequencepublic String getPackageType()
public void setPackageType(String packageType)
packageType
- the new package typepublic String getWscId()
public void setWscId(String wscId)
wscId
- the new wsc id