Property | Type | Description | |
---|---|---|---|
ChatMessage | System |
Method | Description | |
---|---|---|
ChatMessage ( |
Create a new ChatMessage
|
|
Deserialize ( System inputStream ) : void | ||
Deserialize ( System inputStream, |
||
IncrementRelayCount ( ) : void |
Increment the relay count variable
|
|
Serialize ( System outputStream ) : void |
Method | Description | |
---|---|---|
ChatMessage ( ) : System |
We must include a private constructor to be used by the deserialisation step.
|
public ChatMessage ( |
||
sourceIdentifier | The source identifier | |
sourceName | string | The source name |
message | string | The message to be sent |
messageIndex | long | The index of this message |
return | System |
public Deserialize ( System inputStream ) : void | ||
inputStream | System | |
return | void |
public static Deserialize ( System inputStream, |
||
inputStream | System | |
result | ||
return | void |
public Serialize ( System outputStream ) : void | ||
outputStream | System | |
return | void |