C# Class TSystems.RELOAD.Usage.SipRegistration

Inheritance: IUsage
Mostrar archivo Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method 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

Method 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 method

public AppProcedure ( MessageTransport transport, List fetchKindResponses ) : void
transport TSystems.RELOAD.Transport.MessageTransport
fetchKindResponses List
return void

Create() public method

public Create ( int type ) : IUsage
type int
return IUsage

DataModel() public method

public DataModel ( ) : ReloadGlobals.DataModel
return ReloadGlobals.DataModel

Encapsulate() public method

public Encapsulate ( System.Boolean exists ) : StoredDataValue
exists System.Boolean
return TSystems.RELOAD.Storage.StoredDataValue

FromReader() public method

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.
return IUsage

Report() public method

public Report ( ) : string
return string

SipRegistration() public method

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

dump() public method

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