C# Class BACnet.Core.Datalink.PortManager

Inheritance: IProcess
Show file Open project: LorenVS/bacstack Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes the port manager

HandleMessage ( IMessage message ) : bool

Handles a message queued on this session.

PortManager ( PortManagerOptions options ) : System

Constructs a new port manager instance

Resolve ( IEnumerable processes ) : void

Resolves the port manager's dependencies

SendNetgram ( OutboundNetgram netgram ) : void

Sends a netgram

Private Methods

Method Description
_disposeAll ( ) : void

Disposes of all resources held by the port manager

_disposePorts ( ) : void

Unregisters all port registrations

_getPort ( byte portId ) : IPort

Retrieves a registered port by its port id

_removePort ( IPort port ) : void

Removes a registration from the port manager

Method Details

Dispose() public method

Disposes the port manager
public Dispose ( ) : void
return void

HandleMessage() public method

Handles a message queued on this session.
public HandleMessage ( IMessage message ) : bool
message IMessage The message to handle
return bool

PortManager() public method

Constructs a new port manager instance
public PortManager ( PortManagerOptions options ) : System
options PortManagerOptions
return System

Resolve() public method

Resolves the port manager's dependencies
public Resolve ( IEnumerable processes ) : void
processes IEnumerable The processes that are potential dependencies
return void

SendNetgram() public method

Sends a netgram
public SendNetgram ( OutboundNetgram netgram ) : void
netgram OutboundNetgram The netgram to send
return void