C# Class System.IO.BACnet.BacnetAsyncResult

Inheritance: IAsyncResult, IDisposable
Afficher le fichier Open project: temcocontrols/T3000_Building_Automation_System Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Resend() public méthode

public Resend ( ) : void
Résultat void

WaitForDone() public méthode

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