Method | Description | |
---|---|---|
Dispose ( ) : void | ||
LLApiServer ( GameServer, gameServer, int port, ushort maxConnections, ushort maxMessages ) : UnityEngine.Networking | ||
Listen ( ) : void | ||
RegisterHandler ( Subjects, subject, SubjectDelegate handler ) : void | ||
RemoveHandler ( Subjects, subject, SubjectDelegate handler ) : bool | ||
SendMessage ( int connectionId, |
||
SendMessage ( int connectionId, |
||
SendOutputMessages ( ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
TryGetConnection ( int connectionId, LLApiConnection, &connection ) : bool | ||
addOutPutMessageToQueue ( OutputMessage, message ) : void |
Method | Description | |
---|---|---|
ManageOutputMessage ( OutputMessage, message ) : ushort | ||
MessagesConsumer ( ) : void | ||
addConnection ( LLApiConnection, connection ) : void | ||
addInputMessageToQueue ( InputMessage, message ) : void | ||
removeConnection ( int connectionId ) : bool |
public LLApiServer ( GameServer, gameServer, int port, ushort maxConnections, ushort maxMessages ) : UnityEngine.Networking | ||
gameServer | GameServer, | |
port | int | |
maxConnections | ushort | |
maxMessages | ushort | |
return | UnityEngine.Networking |
public RegisterHandler ( Subjects, subject, SubjectDelegate handler ) : void | ||
subject | Subjects, | |
handler | SubjectDelegate | |
return | void |
public RemoveHandler ( Subjects, subject, SubjectDelegate handler ) : bool | ||
subject | Subjects, | |
handler | SubjectDelegate | |
return | bool |
public SendMessage ( int connectionId, |
||
connectionId | int | |
writer | ||
Error | NetworkError | |
return | bool |
public SendMessage ( int connectionId, |
||
connectionId | int | |
writer | ||
channel | int | |
Error | NetworkError | |
return | bool |
public TryGetConnection ( int connectionId, LLApiConnection, &connection ) : bool | ||
connectionId | int | |
connection | LLApiConnection, | |
return | bool |
public addOutPutMessageToQueue ( OutputMessage, message ) : void | ||
message | OutputMessage, | |
return | void |