Метод | Описание | |
---|---|---|
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, |
A request was received from the transaction layer.
|
|
OnResponse ( object sender, |
public AddTransport ( ITransport transport ) : void | ||
transport | ITransport | |
Результат | void |
public CreateClientTransaction ( IRequest request ) : IClientTransaction | ||
request | IRequest | |
Результат | IClientTransaction |
public CreateRequest ( string method, Contact from, Contact to ) : IRequest | ||
method | string | Sip method. |
from | Contact | Who is dialing? |
to | Contact | Destination |
Результат | IRequest |
public CreateServerTransaction ( IRequest request ) : IServerTransaction | ||
request | IRequest | |
Результат | IServerTransaction |
public Register ( IRequestHandler handler ) : void | ||
handler | IRequestHandler | Delegate used to process |
Результат | void |
public Send ( IRequest request ) : IClientTransaction | ||
request | IRequest | |
Результат | IClientTransaction |