C# Class Brunet.Xmpp.XmppEdgeListener

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

Protected Properties

Property Type Description
_it IdentifierTable
_local_ta XmppTransportAddress
_local_tas System.Collections.ArrayList
_ready int
_running int
_started int
_xmpp Brunet.Xmpp.XmppService

Public Methods

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

Protected Methods

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

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

CreateEdgeTo() public method

Creates an XmppEdge.
public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
return void

HandleAuthenticate() protected method

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

HandleData() protected method

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

HandleEdgeSend() public method

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

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

XmppEdgeListener() public method

Create a XmppEL.
public XmppEdgeListener ( Brunet.Xmpp.XmppService xmpp ) : Brunet
xmpp Brunet.Xmpp.XmppService
return Brunet

Property Details

_it protected_oe property

protected IdentifierTable _it
return IdentifierTable

_local_ta protected_oe property

protected XmppTransportAddress _local_ta
return XmppTransportAddress

_local_tas protected_oe property

protected ArrayList,System.Collections _local_tas
return System.Collections.ArrayList

_ready protected_oe property

protected int _ready
return int

_running protected_oe property

protected int _running
return int

_started protected_oe property

protected int _started
return int

_xmpp protected_oe property

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