Property | Type | Description | |
---|---|---|---|
StreamErrorEvent | EventHandler |
Method | Description | |
---|---|---|
Connect ( ) : void |
Enable the connection for use.
|
|
Dispose ( ) : void |
Dispose the object.
|
|
NetLayerWindow ( ) : System |
Create a new NetLayerWindow object.
|
|
ReceivePacket ( byte Data, int Offset ) : void |
Receive a packet from the network. This should be invoked on the main thread.
|
|
SendPacket ( byte Data, bool FlushNagle ) : void |
Send a packet. This should be invoked on the main thread.
|
Method | Description | |
---|---|---|
AuroraServerNetLayerCreate ( |
||
AuroraServerNetLayerDestroy ( |
||
AuroraServerNetLayerQuery ( |
||
AuroraServerNetLayerReceive ( |
||
AuroraServerNetLayerSend ( |
||
AuroraServerNetLayerTimeout ( |
||
Dispose ( bool Disposing ) : void |
Dispose the object.
|
|
OnReceive ( byte Data ) : bool |
Called when a data packet is available on the NetLayerWindow connection.
|
|
OnReceiveThunk ( |
Called when a data packet is available on the NetLayerWindow connection.
|
|
OnSend ( byte Data ) : bool |
Called when a data packet is available to send from the NetLayerWindow connection.
|
|
OnSendThunk ( |
Called when an encapsulated data packet is available to send from the NetLayerWindow connection.
|
|
OnStreamError ( bool Fatal, |
Called when a stream error is raised on the NetLayerWindow connection.
|
|
OnStreamErrorThunk ( bool Fatal, |
Called when a stream error occurs.
|
|
WindowTimer_Tick ( object sender, |
Called by the timer package when the window timer elapses, on the main thread.
|
public ReceivePacket ( byte Data, int Offset ) : void | ||
Data | byte | Supplies the packet data. |
Offset | int | Supplies the offset into the packet data to /// hand off to the NetLayerWindow package (zero if the entire data /// buffer is in NetLayerWindow format with no application specific /// header prepended). |
return | void |
public SendPacket ( byte Data, bool FlushNagle ) : void | ||
Data | byte | Supplies the data packet to send. |
FlushNagle | bool | Supplies true if the send request should /// be expedited at the cost of bandwidth efficiency, by flushing any /// pending Nagle queue immediately. |
return | void |