C# Class System.IO.BACnet.BacnetIpUdpProtocolTransport

This is the standard BACNet udp transport
Inheritance: IBacnetTransport, IDisposable
Show file Open project: temcocontrols/T3000_Building_Automation_System Class Usage Examples

Public Methods

Method Description
BacnetIpUdpProtocolTransport ( int port, bool use_exclusive_port = false, bool dont_fragment = false, int max_payload = 1472, string local_endpoint_ip = "" ) : System
Convert ( BacnetAddress addr, System &ep ) : void
Convert ( System ep, BacnetAddress &addr ) : void
ConvertToHex ( byte buffer, int length ) : string
Dispose ( ) : void
Equals ( object obj ) : bool
GetBroadcastAddress ( ) : BacnetAddress
GetHashCode ( ) : int
Send ( byte buffer, int data_length, System ep ) : int
Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
Start ( ) : void
ToString ( ) : string
WaitForAllTransmits ( int timeout ) : bool

Protected Methods

Method Description
_GetBroadcastAddress ( ) : BacnetAddress

Private Methods

Method Description
Close ( ) : void
OnReceiveData ( IAsyncResult asyncResult ) : void
Open ( ) : void

Method Details

BacnetIpUdpProtocolTransport() public method

public BacnetIpUdpProtocolTransport ( int port, bool use_exclusive_port = false, bool dont_fragment = false, int max_payload = 1472, string local_endpoint_ip = "" ) : System
port int
use_exclusive_port bool
dont_fragment bool
max_payload int
local_endpoint_ip string
return System

Convert() public static method

public static Convert ( BacnetAddress addr, System &ep ) : void
addr BacnetAddress
ep System
return void

Convert() public static method

public static Convert ( System ep, BacnetAddress &addr ) : void
ep System
addr BacnetAddress
return void

ConvertToHex() public static method

public static ConvertToHex ( byte buffer, int length ) : string
buffer byte
length int
return string

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBroadcastAddress() public method

public GetBroadcastAddress ( ) : BacnetAddress
return BacnetAddress

GetHashCode() public method

public GetHashCode ( ) : int
return int

Send() public method

public Send ( byte buffer, int data_length, System ep ) : int
buffer byte
data_length int
ep System
return int

Send() public method

public Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
buffer byte
offset int
data_length int
address BacnetAddress
wait_for_transmission bool
timeout int
return int

Start() public method

public Start ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

WaitForAllTransmits() public method

public WaitForAllTransmits ( int timeout ) : bool
timeout int
return bool

_GetBroadcastAddress() protected method

protected _GetBroadcastAddress ( ) : BacnetAddress
return BacnetAddress