C# 클래스 SipSharp.Transports.UdpTransport

Transports messages over UDP.
상속: ITransport
파일 보기 프로젝트 열기: jgauffin/SipSharp 1 사용 예제들

공개 메소드들

메소드 설명
Send ( EndPoint endPoint, byte buffer, int offset, int count ) : void
Start ( ) : void

Start transport.

UdpTransport ( IPEndPoint listeningPoint, MessageFactory parsers ) : System

Initializes a new instance of the UdpTransport class.

보호된 메소드들

메소드 설명
CreateSocket ( ) : Socket

Create a new UDP socket.

비공개 메소드들

메소드 설명
OnRead ( IAsyncResult ar ) : void

Received a message from remote end point.

OnSendComplete ( IAsyncResult ar ) : void

메소드 상세

CreateSocket() 보호된 메소드

Create a new UDP socket.
protected CreateSocket ( ) : Socket
리턴 Socket

Send() 공개 메소드

public Send ( EndPoint endPoint, byte buffer, int offset, int count ) : void
endPoint System.Net.EndPoint
buffer byte
offset int
count int
리턴 void

Start() 공개 메소드

Start transport.
is not of the type expected by the transport implementation endPoint is null.
public Start ( ) : void
리턴 void

UdpTransport() 공개 메소드

Initializes a new instance of the UdpTransport class.
public UdpTransport ( IPEndPoint listeningPoint, MessageFactory parsers ) : System
listeningPoint System.Net.IPEndPoint End point to accept new connections on.
parsers SipSharp.Messages.MessageFactory The parsers.
리턴 System