C# 클래스 SipSharp.SipStack

상속: ISipStack
파일 보기 프로젝트 열기: jgauffin/SipSharp

공개 메소드들

메소드 설명
AddTransport ( ITransport transport ) : void
CreateClientTransaction ( IRequest request ) : IClientTransaction
CreateRequest ( string method, Contact from, Contact to ) : IRequest

Create a new request

CreateServerTransaction ( IRequest request ) : IServerTransaction
Register ( IRequestHandler handler ) : void

A request have been received by the stack

A response have been received by the stack

Register a request handler.

Requests handled by transactions or dialogs are not being handled by this event.

A new transaction are automatically created by the stack and attached to this event.

Responses handled by transactions or dialogs are not being handled by this event.

A new transaction are automatically created by the stack and attached to this event.
Send ( IRequest request ) : IClientTransaction
SipStack ( ) : System
Start ( ) : void

Start stack.

비공개 메소드들

메소드 설명
CheckAuthentication ( IRequest request, IServerTransaction transaction ) : bool
CreateBranch ( ) : string
CreateCallId ( ) : string
CreateTag ( ) : string
GetNextSequenceNumber ( ) : int
OnRequest ( object sender, RequestEventArgs e ) : void

A request was received from the transaction layer.

OnResponse ( object sender, ResponseEventArgs e ) : void

메소드 상세

AddTransport() 공개 메소드

public AddTransport ( ITransport transport ) : void
transport ITransport
리턴 void

CreateClientTransaction() 공개 메소드

public CreateClientTransaction ( IRequest request ) : IClientTransaction
request IRequest
리턴 IClientTransaction

CreateRequest() 공개 메소드

Create a new request
public CreateRequest ( string method, Contact from, Contact to ) : IRequest
method string Sip method.
from Contact Who is dialing?
to Contact Destination
리턴 IRequest

CreateServerTransaction() 공개 메소드

public CreateServerTransaction ( IRequest request ) : IServerTransaction
request IRequest
리턴 IServerTransaction

Register() 공개 메소드

A request have been received by the stack A response have been received by the stack Register a request handler.

Requests handled by transactions or dialogs are not being handled by this event.

A new transaction are automatically created by the stack and attached to this event.

Responses handled by transactions or dialogs are not being handled by this event.

A new transaction are automatically created by the stack and attached to this event.
public Register ( IRequestHandler handler ) : void
handler IRequestHandler Delegate used to process
리턴 void

Send() 공개 메소드

public Send ( IRequest request ) : IClientTransaction
request IRequest
리턴 IClientTransaction

SipStack() 공개 메소드

public SipStack ( ) : System
리턴 System

Start() 공개 메소드

Start stack.
public Start ( ) : void
리턴 void