C# Class System.IO.BACnet.BacnetEthernetProtocolTransport

Inheritance: IBacnetTransport
Afficher le fichier Open project: temcocontrols/T3000_Building_Automation_System

Méthodes publiques

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

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

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetBroadcastAddress() public méthode

public GetBroadcastAddress ( ) : BacnetAddress
Résultat BacnetAddress

Send() public méthode

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

Start() public méthode

public Start ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

WaitForAllTransmits() public méthode

public WaitForAllTransmits ( int timeout ) : bool
timeout int
Résultat bool