C# Class Brunet.Xmpp.XmppEdgeListener

Xmpp provides a means for discovery and as a relay.
Inheritance: EdgeListener, IEdgeSendHandler
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_it IdentifierTable
_local_ta XmppTransportAddress
_local_tas System.Collections.ArrayList
_ready int
_running int
_started int
_xmpp Brunet.Xmpp.XmppService

Méthodes publiques

Méthode Description
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void

Creates an XmppEdge.

HandleEdgeSend ( Edge from, ICopyable data ) : void

Used to send data over Xmpp using the specified XmppEdge.

Start ( ) : void
Stop ( ) : void
XmppEdgeListener ( Brunet.Xmpp.XmppService xmpp ) : Brunet

Create a XmppEL.

Méthodes protégées

Méthode Description
CloseHandler ( object o, EventArgs ea ) : void

Remove closed XmppEdges from the IdentifierTable.

HandleAuthenticate ( object sender ) : void
HandleData ( Element msg, jabber.JID from ) : void

Got a packet from Xmpp.

Method Details

CloseHandler() protected méthode

Remove closed XmppEdges from the IdentifierTable.
protected CloseHandler ( object o, EventArgs ea ) : void
o object
ea System.EventArgs
Résultat void

CreateEdgeTo() public méthode

Creates an XmppEdge.
public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
Résultat void

HandleAuthenticate() protected méthode

protected HandleAuthenticate ( object sender ) : void
sender object
Résultat void

HandleData() protected méthode

Got a packet from Xmpp.
protected HandleData ( Element msg, jabber.JID from ) : void
msg Element
from jabber.JID
Résultat void

HandleEdgeSend() public méthode

Used to send data over Xmpp using the specified XmppEdge.
public HandleEdgeSend ( Edge from, ICopyable data ) : void
from Edge
data ICopyable
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

XmppEdgeListener() public méthode

Create a XmppEL.
public XmppEdgeListener ( Brunet.Xmpp.XmppService xmpp ) : Brunet
xmpp Brunet.Xmpp.XmppService
Résultat Brunet

Property Details

_it protected_oe property

protected IdentifierTable _it
Résultat IdentifierTable

_local_ta protected_oe property

protected XmppTransportAddress _local_ta
Résultat XmppTransportAddress

_local_tas protected_oe property

protected ArrayList,System.Collections _local_tas
Résultat System.Collections.ArrayList

_ready protected_oe property

protected int _ready
Résultat int

_running protected_oe property

protected int _running
Résultat int

_started protected_oe property

protected int _started
Résultat int

_xmpp protected_oe property

protected XmppService,Brunet.Xmpp _xmpp
Résultat Brunet.Xmpp.XmppService