Interface INetworkInterface
Syntax
public interface INetworkInterface : IDisposable
Properties
LocalEndPoint
Declaration
NetworkInterfaceEndPoint LocalEndPoint { get; }
Property Value
Methods
Bind(NetworkInterfaceEndPoint)
Binds the medium to a specific endpoint.
Declaration
int Bind(NetworkInterfaceEndPoint endpoint)
Parameters
Returns
Type |
Description |
Int32 |
0 on Success
|
CreateInterfaceEndPoint(NetworkEndPoint)
Declaration
NetworkInterfaceEndPoint CreateInterfaceEndPoint(NetworkEndPoint endPoint)
Parameters
Returns
CreateSendInterface()
Declaration
NetworkSendInterface CreateSendInterface()
Returns
GetGenericEndPoint(NetworkInterfaceEndPoint)
Declaration
NetworkEndPoint GetGenericEndPoint(NetworkInterfaceEndPoint endpoint)
Parameters
Returns
Initialize(INetworkParameter[])
Declaration
void Initialize(params INetworkParameter[] param)
Parameters
ScheduleReceive(NetworkPacketReceiver, JobHandle)
Schedule a ReceiveJob. This is used to read data from your supported medium and pass it to the AppendData function
supplied by NetworkDriver
Declaration
JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
Parameters
Returns
Type |
Description |
JobHandle |
A to our newly created ScheduleReceive Job.
|
ScheduleSend(NativeQueue<QueuedSendMessage>, JobHandle)
Schedule a SendJob. This is used to flush send queues to your supported medium
Declaration
JobHandle ScheduleSend(NativeQueue<QueuedSendMessage> sendQueue, JobHandle dep)
Parameters
Type |
Name |
Description |
NativeQueue<QueuedSendMessage> |
sendQueue |
The send queue which can be used to emulate parallel send.
|
JobHandle |
dep |
A to any dependency we might have.
|
Returns
Type |
Description |
JobHandle |
A to our newly created ScheduleSend Job.
|