C# Class BeardedManStudios.Network.CachedUdpClient

Inheritance: IDisposable
Afficher le fichier Open project: drakelinglabs/unityarmada Class Usage Examples

Méthodes publiques

Méthode Description
BeginReceive ( AsyncCallback requestCallback, object state ) : IAsyncResult
BeginSend ( byte datagram, int bytes, AsyncCallback requestCallback, object state ) : IAsyncResult
BeginSend ( byte datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state ) : IAsyncResult
BeginSend ( byte datagram, int bytes, string hostname, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
CachedUdpClient ( ) : System
CachedUdpClient ( AddressFamily family ) : System
CachedUdpClient ( IPEndPoint localEP ) : System
CachedUdpClient ( Socket targetSocket ) : System
CachedUdpClient ( int port ) : System
CachedUdpClient ( int port, AddressFamily family ) : System
CachedUdpClient ( string hostname, int port ) : System
Close ( ) : void
Connect ( IPAddress addr, int port ) : void
Connect ( IPEndPoint endPoint ) : void
Connect ( string hostname, int port ) : void
DoConnect ( IPEndPoint endPoint ) : void
DropMulticastGroup ( IPAddress multicastAddr ) : void
DropMulticastGroup ( IPAddress multicastAddr, int ifindex ) : void
EndReceive ( IAsyncResult asyncResult, IPEndPoint &remoteEP ) : byte[]
EndSend ( IAsyncResult asyncResult ) : int
IDisposable ( ) : void
JoinMulticastGroup ( IPAddress multicastAddr ) : void
JoinMulticastGroup ( IPAddress multicastAddr, IPAddress localAddress ) : void
JoinMulticastGroup ( IPAddress multicastAddr, int timeToLive ) : void
JoinMulticastGroup ( int ifindex, IPAddress multicastAddr ) : void
Receive ( IPEndPoint &remoteEP, string &endpoint ) : BMSByte
ReceiveAsync ( ) : Task
Send ( byte dgram, int bytes ) : int
Send ( byte dgram, int bytes, IPEndPoint endPoint ) : int
Send ( byte dgram, int bytes, string hostname, int port ) : int
SendAsync ( byte datagram, int bytes ) : Task
SendAsync ( byte datagram, int bytes, IPEndPoint endPoint ) : Task
SendAsync ( byte datagram, int bytes, string hostname, int port ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CheckDisposed ( ) : void
CutArray ( byte orig, int length ) : byte[]
DoBeginSend ( byte datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state ) : IAsyncResult
DoSend ( byte dgram, int bytes, IPEndPoint endPoint ) : int
InitSocket ( EndPoint localEP ) : void

Method Details

BeginReceive() public méthode

public BeginReceive ( AsyncCallback requestCallback, object state ) : IAsyncResult
requestCallback AsyncCallback
state object
Résultat IAsyncResult

BeginSend() public méthode

public BeginSend ( byte datagram, int bytes, AsyncCallback requestCallback, object state ) : IAsyncResult
datagram byte
bytes int
requestCallback AsyncCallback
state object
Résultat IAsyncResult

BeginSend() public méthode

public BeginSend ( byte datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state ) : IAsyncResult
datagram byte
bytes int
endPoint System.Net.IPEndPoint
requestCallback AsyncCallback
state object
Résultat IAsyncResult

BeginSend() public méthode

public BeginSend ( byte datagram, int bytes, string hostname, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
datagram byte
bytes int
hostname string
port int
requestCallback AsyncCallback
state object
Résultat IAsyncResult

CachedUdpClient() public méthode

public CachedUdpClient ( ) : System
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( AddressFamily family ) : System
family AddressFamily
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( IPEndPoint localEP ) : System
localEP System.Net.IPEndPoint
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( Socket targetSocket ) : System
targetSocket Socket
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( int port ) : System
port int
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( int port, AddressFamily family ) : System
port int
family AddressFamily
Résultat System

CachedUdpClient() public méthode

public CachedUdpClient ( string hostname, int port ) : System
hostname string
port int
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( IPAddress addr, int port ) : void
addr System.Net.IPAddress
port int
Résultat void

Connect() public méthode

public Connect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint
Résultat void

Connect() public méthode

public Connect ( string hostname, int port ) : void
hostname string
port int
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DoConnect() public méthode

public DoConnect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint
Résultat void

DropMulticastGroup() public méthode

public DropMulticastGroup ( IPAddress multicastAddr ) : void
multicastAddr System.Net.IPAddress
Résultat void

DropMulticastGroup() public méthode

public DropMulticastGroup ( IPAddress multicastAddr, int ifindex ) : void
multicastAddr System.Net.IPAddress
ifindex int
Résultat void

EndReceive() public méthode

public EndReceive ( IAsyncResult asyncResult, IPEndPoint &remoteEP ) : byte[]
asyncResult IAsyncResult
remoteEP System.Net.IPEndPoint
Résultat byte[]

EndSend() public méthode

public EndSend ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

IDisposable() public méthode

public IDisposable ( ) : void
Résultat void

JoinMulticastGroup() public méthode

public JoinMulticastGroup ( IPAddress multicastAddr ) : void
multicastAddr System.Net.IPAddress
Résultat void

JoinMulticastGroup() public méthode

public JoinMulticastGroup ( IPAddress multicastAddr, IPAddress localAddress ) : void
multicastAddr System.Net.IPAddress
localAddress System.Net.IPAddress
Résultat void

JoinMulticastGroup() public méthode

public JoinMulticastGroup ( IPAddress multicastAddr, int timeToLive ) : void
multicastAddr System.Net.IPAddress
timeToLive int
Résultat void

JoinMulticastGroup() public méthode

public JoinMulticastGroup ( int ifindex, IPAddress multicastAddr ) : void
ifindex int
multicastAddr System.Net.IPAddress
Résultat void

Receive() public méthode

public Receive ( IPEndPoint &remoteEP, string &endpoint ) : BMSByte
remoteEP System.Net.IPEndPoint
endpoint string
Résultat BMSByte

ReceiveAsync() public méthode

public ReceiveAsync ( ) : Task
Résultat Task

Send() public méthode

public Send ( byte dgram, int bytes ) : int
dgram byte
bytes int
Résultat int

Send() public méthode

public Send ( byte dgram, int bytes, IPEndPoint endPoint ) : int
dgram byte
bytes int
endPoint System.Net.IPEndPoint
Résultat int

Send() public méthode

public Send ( byte dgram, int bytes, string hostname, int port ) : int
dgram byte
bytes int
hostname string
port int
Résultat int

SendAsync() public méthode

public SendAsync ( byte datagram, int bytes ) : Task
datagram byte
bytes int
Résultat Task

SendAsync() public méthode

public SendAsync ( byte datagram, int bytes, IPEndPoint endPoint ) : Task
datagram byte
bytes int
endPoint System.Net.IPEndPoint
Résultat Task

SendAsync() public méthode

public SendAsync ( byte datagram, int bytes, string hostname, int port ) : Task
datagram byte
bytes int
hostname string
port int
Résultat Task