C# Class Ipop.SocialVPN.JabberNetwork

Inheritance: ISocialNetwork
ファイルを表示 Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_addresses string>.ImmutableDictionary
_doc System.Xml.XmlDocument
_fingerprints string>.ImmutableDictionary
_host string
_port int
_timer System.Threading.Timer
_xmpp Brunet.Xmpp.XmppService

Public Methods

Method Description
HandleSvpnMsg ( Element msg, jabber.JID from ) : void
JabberNetwork ( string uid, string password, string host, string port ) : System
Login ( string uid, string password ) : void
Logout ( ) : void
SetData ( string address, string fingerprint ) : void
TimerHandler ( object obj ) : void

Protected Methods

Method Description
HandleAuthError ( object sender, XmlElement rp ) : void
HandleAuthenticate ( object sender ) : void
HandleError ( object sender, Exception e ) : void
HandlePresence ( object sender, Presence pres ) : void
Publish ( ) : void

Method Details

HandleAuthError() protected method

protected HandleAuthError ( object sender, XmlElement rp ) : void
sender object
rp System.Xml.XmlElement
return void

HandleAuthenticate() protected method

protected HandleAuthenticate ( object sender ) : void
sender object
return void

HandleError() protected method

protected HandleError ( object sender, Exception e ) : void
sender object
e System.Exception
return void

HandlePresence() protected method

protected HandlePresence ( object sender, Presence pres ) : void
sender object
pres Presence
return void

HandleSvpnMsg() public method

public HandleSvpnMsg ( Element msg, jabber.JID from ) : void
msg Element
from jabber.JID
return void

JabberNetwork() public method

public JabberNetwork ( string uid, string password, string host, string port ) : System
uid string
password string
host string
port string
return System

Login() public method

public Login ( string uid, string password ) : void
uid string
password string
return void

Logout() public method

public Logout ( ) : void
return void

Publish() protected method

protected Publish ( ) : void
return void

SetData() public method

public SetData ( string address, string fingerprint ) : void
address string
fingerprint string
return void

TimerHandler() public method

public TimerHandler ( object obj ) : void
obj object
return void

Property Details

_addresses protected_oe property

protected ImmutableDictionary _addresses
return string>.ImmutableDictionary

_doc protected_oe property

protected XmlDocument,System.Xml _doc
return System.Xml.XmlDocument

_fingerprints protected_oe property

protected ImmutableDictionary _fingerprints
return string>.ImmutableDictionary

_host protected_oe property

protected string _host
return string

_port protected_oe property

protected int _port
return int

_timer protected_oe property

protected Timer,System.Threading _timer
return System.Threading.Timer

_xmpp protected_oe property

protected XmppService,Brunet.Xmpp _xmpp
return Brunet.Xmpp.XmppService