C# 클래스 BeardedManStudios.Network.CachedUdpClient

상속: IDisposable
파일 보기 프로젝트 열기: drakelinglabs/unityarmada 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

BeginReceive() 공개 메소드

public BeginReceive ( AsyncCallback requestCallback, object state ) : IAsyncResult
requestCallback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( byte datagram, int bytes, AsyncCallback requestCallback, object state ) : IAsyncResult
datagram byte
bytes int
requestCallback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

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
리턴 IAsyncResult

BeginSend() 공개 메소드

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
리턴 IAsyncResult

CachedUdpClient() 공개 메소드

public CachedUdpClient ( ) : System
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( AddressFamily family ) : System
family AddressFamily
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( IPEndPoint localEP ) : System
localEP System.Net.IPEndPoint
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( Socket targetSocket ) : System
targetSocket Socket
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( int port ) : System
port int
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( int port, AddressFamily family ) : System
port int
family AddressFamily
리턴 System

CachedUdpClient() 공개 메소드

public CachedUdpClient ( string hostname, int port ) : System
hostname string
port int
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( IPAddress addr, int port ) : void
addr System.Net.IPAddress
port int
리턴 void

Connect() 공개 메소드

public Connect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint
리턴 void

Connect() 공개 메소드

public Connect ( string hostname, int port ) : void
hostname string
port int
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DoConnect() 공개 메소드

public DoConnect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint
리턴 void

DropMulticastGroup() 공개 메소드

public DropMulticastGroup ( IPAddress multicastAddr ) : void
multicastAddr System.Net.IPAddress
리턴 void

DropMulticastGroup() 공개 메소드

public DropMulticastGroup ( IPAddress multicastAddr, int ifindex ) : void
multicastAddr System.Net.IPAddress
ifindex int
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult asyncResult, IPEndPoint &remoteEP ) : byte[]
asyncResult IAsyncResult
remoteEP System.Net.IPEndPoint
리턴 byte[]

EndSend() 공개 메소드

public EndSend ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

IDisposable() 공개 메소드

public IDisposable ( ) : void
리턴 void

JoinMulticastGroup() 공개 메소드

public JoinMulticastGroup ( IPAddress multicastAddr ) : void
multicastAddr System.Net.IPAddress
리턴 void

JoinMulticastGroup() 공개 메소드

public JoinMulticastGroup ( IPAddress multicastAddr, IPAddress localAddress ) : void
multicastAddr System.Net.IPAddress
localAddress System.Net.IPAddress
리턴 void

JoinMulticastGroup() 공개 메소드

public JoinMulticastGroup ( IPAddress multicastAddr, int timeToLive ) : void
multicastAddr System.Net.IPAddress
timeToLive int
리턴 void

JoinMulticastGroup() 공개 메소드

public JoinMulticastGroup ( int ifindex, IPAddress multicastAddr ) : void
ifindex int
multicastAddr System.Net.IPAddress
리턴 void

Receive() 공개 메소드

public Receive ( IPEndPoint &remoteEP, string &endpoint ) : BMSByte
remoteEP System.Net.IPEndPoint
endpoint string
리턴 BMSByte

ReceiveAsync() 공개 메소드

public ReceiveAsync ( ) : Task
리턴 Task

Send() 공개 메소드

public Send ( byte dgram, int bytes ) : int
dgram byte
bytes int
리턴 int

Send() 공개 메소드

public Send ( byte dgram, int bytes, IPEndPoint endPoint ) : int
dgram byte
bytes int
endPoint System.Net.IPEndPoint
리턴 int

Send() 공개 메소드

public Send ( byte dgram, int bytes, string hostname, int port ) : int
dgram byte
bytes int
hostname string
port int
리턴 int

SendAsync() 공개 메소드

public SendAsync ( byte datagram, int bytes ) : Task
datagram byte
bytes int
리턴 Task

SendAsync() 공개 메소드

public SendAsync ( byte datagram, int bytes, IPEndPoint endPoint ) : Task
datagram byte
bytes int
endPoint System.Net.IPEndPoint
리턴 Task

SendAsync() 공개 메소드

public SendAsync ( byte datagram, int bytes, string hostname, int port ) : Task
datagram byte
bytes int
hostname string
port int
리턴 Task