C# Class System.IO.BACnet.BacnetEthernetProtocolTransport

Inheritance: IBacnetTransport
显示文件 Open project: temcocontrols/T3000_Building_Automation_System

Public Methods

Method Description
BacnetEthernetProtocolTransport ( string FriendlydeviceName ) : System

Dispose ( ) : void
GetBroadcastAddress ( ) : BacnetAddress
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

Private Methods

Method Description
CaptureThread ( ) : void
Mac ( byte buffer, int offset ) : byte[]
OnPacketArrival ( SharpPcap.RawCapture packet ) : void
Open ( ) : SharpPcap.LibPcap.LibPcapLiveDevice
_isOutboundPacket ( byte buffer, int offset ) : bool

Method Details

BacnetEthernetProtocolTransport() public method

public BacnetEthernetProtocolTransport ( string FriendlydeviceName ) : System
FriendlydeviceName string Something like "Local Lan 1", "Wireless network", ...
return System

Dispose() public method

public Dispose ( ) : void
return void

GetBroadcastAddress() public method

public GetBroadcastAddress ( ) : BacnetAddress
return BacnetAddress

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