Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Releases all the resources used by the MultiProtocolFrameParser object.
|
|
MultiProtocolFrameParser ( ) : System |
Creates a new MultiProtocolFrameParser using the default settings.
|
|
ResetTotalBytesReceived ( ) : void |
Resets the value for the TotalBytesReceived statistic.
|
|
SendDeviceCommand ( DeviceCommand command ) : |
Sends the specified DeviceCommand to the remote device. Command will only be sent if DeviceSupportsCommands is |
|
Start ( ) : void |
Starts the MultiProtocolFrameParser.
|
|
Stop ( ) : void |
Stops the MultiProtocolFrameParser.
|
|
TryInitializeFrameParser ( ) : bool |
Attempts to initialize the protocol specific frame parser. Starting the multi-protocol frame parser will automatically initialize the frame parsers so calling this method then will be unnecessary, however, if you are using this class just to edit custom connection parameters then initializing the will be necessary. |
|
Write ( byte buffer, int offset, int count ) : void |
Writes data directly to the frame parsing engine buffer. This method is public to allow consumer to "manually send extra data" to the parsing engine to be parsed, if desired. |
Méthode | Description | |
---|---|---|
ClientConnectedHandler ( ) : void | ||
DeriveCommandSupport ( ) : bool |
Derives a flag based on settings that determines if the current connection supports device commands.
|
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the MultiProtocolFrameParser object and optionally releases the managed resources.
|
|
IFrameParser ( SourceChannel source, byte buffer, int offset, int count ) : void | ||
InitializeCommandChannel ( string connectionString ) : void |
Initialize command channel.
|
|
InitializeDataChannel ( string>.Dictionary |
Initialize data channel.
|
|
InitializeFrameParser ( string>.Dictionary |
Initialize frame parser.
|
|
InitializeUdpDataChannel ( string>.Dictionary |
||
MaintainCapturedFrameReplayTiming ( IFrame sourceFrame ) : void | ||
OnConnectionException ( |
Raises the ConnectionException event.
|
|
OnExceededParsingExceptionThreshold ( ) : void |
Raises the ExceededParsingExceptionThreshold event.
|
|
OnParsingException ( |
Raises the ParsingException event.
|
|
OnParsingException ( |
Raises the ParsingException event.
|
|
Parse ( SourceChannel source, byte buffer, int offset, int count ) : void |
Writes a sequence of bytes onto the IBinaryImageParser stream for parsing.
|
|
ReadNextFileBuffer ( ) : void | ||
StartDataParsingSequence ( ) : void | ||
m_commandChannel_ConnectionAttempt ( object sender, |
||
m_commandChannel_ConnectionEstablished ( object sender, |
||
m_commandChannel_ConnectionException ( object sender, EventArgs |
||
m_commandChannel_ConnectionTerminated ( object sender, |
||
m_commandChannel_ReceiveData ( object sender, EventArgs |
||
m_commandChannel_ReceiveDataException ( object sender, EventArgs |
||
m_commandChannel_SendDataException ( object sender, EventArgs |
||
m_commandChannel_UnhandledUserException ( object sender, EventArgs |
||
m_dataChannel_ConnectionAttempt ( object sender, |
||
m_dataChannel_ConnectionEstablished ( object sender, |
||
m_dataChannel_ConnectionException ( object sender, EventArgs |
||
m_dataChannel_ConnectionTerminated ( object sender, |
||
m_dataChannel_ReceiveData ( object sender, EventArgs |
||
m_dataChannel_ReceiveDataException ( object sender, EventArgs |
||
m_dataChannel_ReceiveDataFrom ( object sender, EventArgs |
||
m_dataChannel_SendDataException ( object sender, EventArgs |
||
m_dataChannel_UnhandledUserException ( object sender, EventArgs |
||
m_frameParser_BufferParsed ( object sender, |
||
m_frameParser_ConfigurationChanged ( object sender, |
||
m_frameParser_ParsingException ( object sender, EventArgs |
||
m_frameParser_ReceivedCommandFrame ( object sender, EventArgs |
||
m_frameParser_ReceivedConfigurationFrame ( object sender, EventArgs |
||
m_frameParser_ReceivedDataFrame ( object sender, EventArgs |
||
m_frameParser_ReceivedFrameBufferImage ( object sender, EventArgs |
||
m_frameParser_ReceivedFrameImage ( object sender, int>.EventArgs |
||
m_frameParser_ReceivedHeaderFrame ( object sender, EventArgs |
||
m_frameParser_ReceivedUndeterminedFrame ( object sender, EventArgs |
||
m_rateCalcTimer_Elapsed ( object sender, EventArgs |
||
m_serverBasedDataChannel_ClientConnected ( object sender, EventArgs |
||
m_serverBasedDataChannel_ClientConnectingException ( object sender, EventArgs |
||
m_serverBasedDataChannel_ClientDisconnected ( object sender, EventArgs |
||
m_serverBasedDataChannel_ReceiveClientData ( object sender, int>.EventArgs |
||
m_serverBasedDataChannel_ReceiveClientDataException ( object sender, Exception>.EventArgs |
||
m_serverBasedDataChannel_SendClientDataException ( object sender, Exception>.EventArgs |
||
m_serverBasedDataChannel_ServerStarted ( object sender, |
||
m_serverBasedDataChannel_ServerStopped ( object sender, |
||
m_serverBasedDataChannel_UnhandledUserException ( object sender, EventArgs |
public MultiProtocolFrameParser ( ) : System | ||
Résultat | System |
public SendDeviceCommand ( DeviceCommand command ) : |
||
command | DeviceCommand | |
Résultat |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | Buffer containing data to be parsed. |
offset | int | Offset into buffer where data begins. |
count | int | Length of data in buffer to be parsed. |
Résultat | void |