C# Class System.IO.BACnet.BacnetAsyncResult

Inheritance: IAsyncResult, IDisposable
Datei anzeigen Open project: temcocontrols/T3000_Building_Automation_System Class Usage Examples

Public Methods

Method Description
BacnetAsyncResult ( BacnetClient comm, BacnetAddress adr, byte invoke_id, byte transmit_buffer, int transmit_length, bool wait_for_transmit, int transmit_timeout ) : System
Dispose ( ) : void
Resend ( ) : void
WaitForDone ( int timeout ) : bool

Will continue waiting until all segments are recieved

Private Methods

Method Description
m_comm_OnAbort ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, byte invoke_id, byte reason, byte buffer, int offset, int length ) : void
m_comm_OnComplexAck ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
m_comm_OnError ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, BacnetErrorClasses error_class, BacnetErrorCodes error_code, byte buffer, int offset, int length ) : void
m_comm_OnSegment ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, BacnetMaxSegments max_segments, BacnetMaxAdpu max_adpu, byte sequence_number, bool first, bool more_follows, byte buffer, int offset, int length ) : void
m_comm_OnSimpleAck ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte data, int data_offset, int data_length ) : void

Method Details

BacnetAsyncResult() public method

public BacnetAsyncResult ( BacnetClient comm, BacnetAddress adr, byte invoke_id, byte transmit_buffer, int transmit_length, bool wait_for_transmit, int transmit_timeout ) : System
comm BacnetClient
adr BacnetAddress
invoke_id byte
transmit_buffer byte
transmit_length int
wait_for_transmit bool
transmit_timeout int
return System

Dispose() public method

public Dispose ( ) : void
return void

Resend() public method

public Resend ( ) : void
return void

WaitForDone() public method

Will continue waiting until all segments are recieved
public WaitForDone ( int timeout ) : bool
timeout int
return bool