WSCControl Class Reference
Inherits from | NSObject |
---|---|
Declared in | WSCControl.h |
Overview
Control section (as a Data Transfer Object) for sending data over the wire as a JSON string.
– init:
Constructor.
- (instancetype)init:(WSCFrame *)parent
Parameters
parent |
Parent |
---|
Discussion
Constructor.
Declared In
WSCControl.h
– getType
Gets the message type.
- (MessageType)getType
Return Value
Message type
Discussion
Gets the message type.
Declared In
WSCControl.h
– setType:
Sets the message type.
- (void)setType:(MessageType)type
Parameters
type |
Message type |
---|
Discussion
Sets the message type.
Declared In
WSCControl.h
– getMessageState
Gets the message state.
- (MessageState)getMessageState
Return Value
Message state
Discussion
Gets the message state.
Declared In
WSCControl.h
– setMessageState:
Set messate state
- (void)setMessageState:(MessageState)messageState
Parameters
messageState |
Message state. |
---|
Discussion
Set messate state
Declared In
WSCControl.h
– getVersion
Gets the version.
- (NSString *)getVersion
Return Value
Version
Discussion
Gets the version.
Declared In
WSCControl.h
– setVersion:
Sets the version.
- (void)setVersion:(NSString *)version
Parameters
version |
Version |
---|
Discussion
Sets the version.
Declared In
WSCControl.h
– getSequence
Gets the sequence.
- (NSInteger)getSequence
Return Value
Sequence
Discussion
Gets the sequence.
Declared In
WSCControl.h
– setSequence:
Sets the sequence.
- (void)setSequence:(NSInteger)sequence
Parameters
sequence |
sequence |
---|
Discussion
Sets the sequence.
Declared In
WSCControl.h
– getSessionId
Gets the session id.
- (NSString *)getSessionId
Return Value
Session id
Discussion
Gets the session id.
Declared In
WSCControl.h
– setSessionId:
Sets the session id.
- (void)setSessionId:(NSString *)sessionId
Parameters
sessionId |
session id |
---|
Discussion
Sets the session id.
Declared In
WSCControl.h
– getSubSessionId
Gets the subsession id.
- (NSString *)getSubSessionId
Return Value
Subsession id
Discussion
Gets the subsession id.
Declared In
WSCControl.h
– setSubSessionId:
Sets the subsession id.
- (void)setSubSessionId:(NSString *)subSessionId
Parameters
subSessionId |
subSession id |
---|
Discussion
Sets the subsession id.
Declared In
WSCControl.h
– getCorrelationId
Gets the correlation id.
- (NSString *)getCorrelationId
Return Value
Correlation id
Discussion
Gets the correlation id.
Declared In
WSCControl.h
– setCorrelationId:
Sets the correlation id.
- (void)setCorrelationId:(NSString *)correlationId
Parameters
correlationId |
correlation id |
---|
Discussion
Sets the correlation id.
Declared In
WSCControl.h
– getAckSequence
Gets the ack sequence.
- (NSInteger)getAckSequence
Return Value
Ack sequence
Discussion
Gets the ack sequence.
Declared In
WSCControl.h
– setAckSequence:
Sets the ack sequence.
- (void)setAckSequence:(NSInteger)ackSequence
Parameters
ackSequence |
Ack sequence |
---|
Discussion
Sets the ack sequence.
Declared In
WSCControl.h
– getPackageType
Gets package type.
- (NSString *)getPackageType
Return Value
Package type
Discussion
Gets package type.
Declared In
WSCControl.h
– setPackageType:
Sets package type.
- (void)setPackageType:(NSString *)packageType
Parameters
packageType |
package type |
---|
Discussion
Sets package type.
Declared In
WSCControl.h
– getWscId
Gets the WebRTC Session Controller id.
- (NSString *)getWscId
Return Value
WebRTC Session Controller id
Discussion
Gets the WebRTC Session Controller id.
Declared In
WSCControl.h
– setWscId:
Set WebRTC Session Controller id.
- (void)setWscId:(NSString *)wscId
Parameters
wscId |
WebRTC Session Controller id |
---|
Discussion
Set WebRTC Session Controller id.
Declared In
WSCControl.h