C# Class SipSharp.Messages.MessageFactoryContext

Creates a single message for one of the end points.
The factory is
Inheritance: IDisposable
Afficher le fichier Open project: jgauffin/SipSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

MessageFactoryContext() public méthode

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

Parse() public méthode

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
Résultat int