Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of all resources held by the ethernet port
|
|
EthernetPort ( |
Creates a new ethernet port instance
|
|
HandleMessage ( IMessage message ) : bool |
Handles a message queued on this session.
|
|
Open ( ) : void |
Opens the port
|
|
Resolve ( IEnumerable |
Resolves the dependencies of this port
|
|
SendNetgram ( |
Sends a netgram out of this port
|
Méthode | Description | |
---|---|---|
dispose ( bool disposing ) : void |
Disposes of the all resources held by the ethernet port
|
Méthode | Description | |
---|---|---|
_getCaptureDevice ( ) : SharpPcap.LibPcap.LibPcapLiveDevice |
Retrieves the capture device that is used by this port
|
|
_isOutboundPacket ( byte buffer ) : bool |
Determines whether a packet contains an outgoing packet sent by this device
|
|
_onPacketArrival ( object sender, SharpPcap.CaptureEventArgs e ) : void |
Called whenever a packet is captured on the capture device
|
public EthernetPort ( |
||
options | The options for the port | |
Résultat | System |
public HandleMessage ( IMessage message ) : bool | ||
message | IMessage | The message to handle |
Résultat | bool |
public Resolve ( IEnumerable |
||
processes | IEnumerable |
The available processes |
Résultat | void |
public SendNetgram ( |
||
netgram | The netgram to send | |
Résultat | void |
protected dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |