Property | Type | Description | |
---|---|---|---|
Blocker | ReconnectedBlocker | ||
ReconnectAttemps | int | ||
WaitBetweenReconnectAttemps | int |
Method | Description | |
---|---|---|
ConnectOODSSServerAsync ( ) : Task |
establishing the oodss protocol by sending initConnectionRequest
|
|
GenerateUid ( ) : long |
Generate a uid for the request message
|
|
RequestAsync ( |
Send Request Message asynchronously and get response
|
|
StartAsync ( ) : Task |
Starting the client, setting up the websocketclient
|
|
StopClient ( ) : Task | ||
WebSocketOODSSClient ( String ipAddress, int portNumber, |
Initialze a websocket OODSS client object
|
Method | Description | |
---|---|---|
Connected ( ) : bool | ||
ConnectedImpl ( ) : bool | ||
CreateConnection ( ) : bool | ||
CreatePacketFromMessageAndSend ( |
prepare the message and send it to the websocket server
|
|
GenerateStringFromRequest ( |
Generate String from requestMessage
|
|
PerformDisconnect ( ) : void | ||
ProcessResponse ( |
||
ProcessString ( string incomingMessage, long incomingUid ) : void |
process the incoming message. if it is a response message, add it to unprocessedResponse, if it is an unpdate message, process it immediately
|
|
ProcessUpdate ( |
||
ReceiveMessageWorker ( ) : void |
background worker getting response from the blocking queue and process it.
|
|
SendMessageWorker ( ) : void |
background worker getting request from the blocking queue and send it out.
|
|
TranslateStringToServiceMessage ( string incomingMessage ) : |
deserialize the incoming message to service message.
|
|
UnableToRestorePreviousConnection ( string sessionId, string newId ) : void | ||
WebSocketDataReceiver ( ) : void |
public RequestAsync ( |
||
request | request message | |
return | Task |
public WebSocketOODSSClient ( String ipAddress, int portNumber, |
||
ipAddress | String | server's ip address |
portNumber | int | server's port number |
translationScope | TranslationScope for OODSS messages | |
objectRegistry | Scope | application object scope |
return | System |