Method | Description | |
---|---|---|
RunAsync ( S101Client client, EmberTypeBag types, XmlReader logReader, bool sendFirstMessage ) : System.Threading.Tasks.Task |
Asynchronously simulates S101 communication. Reads messages with logReader and depending on the direction either sends them to the remote party or matches them to messages received from the remote party. If a message received from the remote party does not match the one in the log then an appropriate exception is thrown. Subsequent messages read with logReader that match the direction of the first message read with logReader are sent if sendFirstMessage equals |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
FromXml ( string xml ) : byte[] | ||
OnClientConnectionLost ( object sender, ConnectionLostEventArgs e ) : void | ||
OnClientEmberDataReceived ( object sender, |
||
OnOutOfFrameByteReceived ( object sender, |
||
ProcessIncomingMessage ( |
||
ProcessIncomingOutOfFrameByte ( |
||
S101Robot ( S101Client client, EmberTypeBag types, XmlReader logReader, bool sendFirstMessage ) : System | ||
SendEvent ( Func |
||
SendMessages ( ) : void | ||
SendMessagesAsync ( ) : System.Threading.Tasks.Task | ||
ToXml ( byte payload ) : string | ||
WaitAsync ( ) : System.Threading.Tasks.Task |
public static RunAsync ( S101Client client, EmberTypeBag types, XmlReader logReader, bool sendFirstMessage ) : System.Threading.Tasks.Task | ||
client | S101Client | The |
types | EmberTypeBag | The types to pass to the internal |
logReader | XmlReader | The |
sendFirstMessage | bool | |
return | System.Threading.Tasks.Task |