Class ServerNonInviteTransaction
Class for handling a server non-INVITE transaction. See Section 17.2.2 of RFC 3261.
Inherited Members
Namespace: SipLib.Transactions
Assembly: SipLib.dll
Syntax
public class ServerNonInviteTransaction : SipTransactionBase
Constructors
| Edit this page View SourceServerNonInviteTransaction(SIPRequest, IPEndPoint, SipTransactionCompleteDelegate, SipTransport, SIPResponse)
Constructor. The transaction is not started until the StartTransaction method is called by the transport layer.
Declaration
public ServerNonInviteTransaction(SIPRequest request, IPEndPoint remoteEndPoint, SipTransactionCompleteDelegate transactionComplete, SipTransport TransportManager, SIPResponse ResponseToSend)
Parameters
Type | Name | Description |
---|---|---|
SIPRequest | request | SIP request that was received by the server. |
IPEndPoint | remoteEndPoint | IP endpoint of the remote client that sent the request. |
SipTransactionCompleteDelegate | transactionComplete | Notification callback. Called when the transaction is completed or terminated. May be null if a notification is not required. |
SipTransport | TransportManager | Transport from which the request was received. |
SIPResponse | ResponseToSend | Initial response to send to the client. Will be sent when the transport layer calls the StartTransaction() method. |
Methods
| Edit this page View SourceSendResponse(SIPResponse)
Sends a response to the non-INVITE request. The transaction user must use this method to send a response.
Declaration
public void SendResponse(SIPResponse response)
Parameters
Type | Name | Description |
---|---|---|
SIPResponse | response | SIP response to send |