C# Class TSystems.RELOAD.Usage.SipRegistration

Inheritance: IUsage
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Méthodes publiques

Méthode Description
AppProcedure ( MessageTransport transport, List fetchKindResponses ) : void
Create ( int type ) : IUsage
DataModel ( ) : ReloadGlobals.DataModel
Encapsulate ( System.Boolean exists ) : StoredDataValue
FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage

This method reads deserializes a SipRegistration datagramm from incomming bytes.

Report ( ) : string
SipRegistration ( UsageManager manager ) : System

Use this constructor just to have a SipRegistration object.

dump ( BinaryWriter writer ) : UInt32

This method serializes the datagramm of a SipRegistration.

Private Methods

Méthode Description
SipRegistration ( String contact_prefs, List destination_list, UsageManager manager ) : System
SipRegistration ( String sip_uri, UsageManager manager ) : System

If the registration is of type "sip_registration_uri", then the contents are an opaque string containing the URI.

URIanalysis ( string sipURI ) : string

Method Details

AppProcedure() public méthode

public AppProcedure ( MessageTransport transport, List fetchKindResponses ) : void
transport TSystems.RELOAD.Transport.MessageTransport
fetchKindResponses List
Résultat void

Create() public méthode

public Create ( int type ) : IUsage
type int
Résultat IUsage

DataModel() public méthode

public DataModel ( ) : ReloadGlobals.DataModel
Résultat ReloadGlobals.DataModel

Encapsulate() public méthode

public Encapsulate ( System.Boolean exists ) : StoredDataValue
exists System.Boolean
Résultat TSystems.RELOAD.Storage.StoredDataValue

FromReader() public méthode

This method reads deserializes a SipRegistration datagramm from incomming bytes.
public FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage
rm TSystems.RELOAD.Transport.ReloadMessage The ReloadMessage helper class
reader System.IO.BinaryReader The incomming byte stream reader
usage_size long Size of the Usage datagramm.
Résultat IUsage

Report() public méthode

public Report ( ) : string
Résultat string

SipRegistration() public méthode

Use this constructor just to have a SipRegistration object.
public SipRegistration ( UsageManager manager ) : System
manager UsageManager
Résultat System

dump() public méthode

This method serializes the datagramm of a SipRegistration.
public dump ( BinaryWriter writer ) : UInt32
writer System.IO.BinaryWriter The writer containing the whole RELOAD message.
Résultat System.UInt32