C# Class SipSharp.Messages.MessageFactoryContext

Creates a single message for one of the end points.
The factory is
Inheritance: IDisposable
显示文件 Open project: jgauffin/SipSharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MessageFactoryContext ( MessageFactory msgFactory, HeaderFactory factory, SipParser parser ) : System
Parse ( byte buffer, int offset, int length ) : int

Will continue the parsing until nothing more can be parsed.

Private Methods

Method Description
OnHeader ( object sender, HeaderEventArgs e ) : void
OnMessageComplete ( object sender, EventArgs e ) : void
OnRequestLine ( object sender, RequestLineEventArgs e ) : void
OnResponseLine ( object sender, ResponseLineEventArgs e ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

MessageFactoryContext() public method

public MessageFactoryContext ( MessageFactory msgFactory, HeaderFactory factory, SipParser parser ) : System
msgFactory MessageFactory
factory SipSharp.Messages.Headers.HeaderFactory
parser SipParser
return System

Parse() public method

Will continue the parsing until nothing more can be parsed.
Parsing failed.
public Parse ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
return int