C# Class FSClient.Account

Inheritance: ObservableClass
Show file Open project: mitchcapper/FSClient Class Usage Examples

Public Properties

Property Type Description
accounts ObservableCollection
default_account Account
fields FSClient.Field[]
values FSClient.FieldValue[]

Public Methods

Method Description
Account ( ) : System
AddAccount ( Account account ) : void
CheckVoicemail ( ) : void
CreateCall ( String number ) : void
HandleGatewayEvent ( FSEvent evt ) : void
LoadSettings ( ) : void
NewEvent ( object sender, FSEvent evt ) : void
ReloadAccount ( ) : void
ReloadAccounts ( ) : void
RemoveAccount ( Account account ) : void
SaveSettings ( ) : void
ToString ( ) : string
create_gateway_nodes ( XmlNode gateways_node, bool tls_enabled, bool tls_only ) : void
edit ( ) : bool
getCheckVoicemailURL ( ) : string
getSendVoicemailURL ( ) : string

Private Methods

Method Description
Account_PropertyChanged ( object sender, System e ) : void
KillGateway ( ) : void
ReloadSofia ( ) : void
ValidateGuid ( String guid ) : string
accounts_CollectionChanged ( object sender, System e ) : void
acct_status_check ( ) : void
callback ( object state ) : void
create_gateway_node ( XmlNode gateways_node, bool tls_enabled, bool tls_only ) : void
ensure_default_account ( ) : void
guid_ok ( Account acct, String guid ) : bool

Method Details

Account() public method

public Account ( ) : System
return System

AddAccount() public static method

public static AddAccount ( Account account ) : void
account Account
return void

CheckVoicemail() public method

public CheckVoicemail ( ) : void
return void

CreateCall() public method

public CreateCall ( String number ) : void
number String
return void

HandleGatewayEvent() public static method

public static HandleGatewayEvent ( FSEvent evt ) : void
evt FSEvent
return void

LoadSettings() public static method

public static LoadSettings ( ) : void
return void

NewEvent() public static method

public static NewEvent ( object sender, FSEvent evt ) : void
sender object
evt FSEvent
return void

ReloadAccount() public method

public ReloadAccount ( ) : void
return void

ReloadAccounts() public static method

public static ReloadAccounts ( ) : void
return void

RemoveAccount() public static method

public static RemoveAccount ( Account account ) : void
account Account
return void

SaveSettings() public static method

public static SaveSettings ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

create_gateway_nodes() public static method

public static create_gateway_nodes ( XmlNode gateways_node, bool tls_enabled, bool tls_only ) : void
gateways_node System.Xml.XmlNode
tls_enabled bool
tls_only bool
return void

edit() public method

public edit ( ) : bool
return bool

getCheckVoicemailURL() public method

public getCheckVoicemailURL ( ) : string
return string

getSendVoicemailURL() public method

public getSendVoicemailURL ( ) : string
return string

Property Details

accounts public static property

public static ObservableCollection accounts
return ObservableCollection

default_account public static property

public static Account,FSClient default_account
return Account

fields public static property

public static Field[],FSClient fields
return FSClient.Field[]

values public property

public FieldValue[],FSClient values
return FSClient.FieldValue[]