|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MChannel
This interface defines the methods that provides our Topology Aware Multicast Channel
Method Summary | |
---|---|
void |
close()
Stops the channel |
java.lang.String |
getChannelName()
This method retrieves the name of the channel |
java.util.List<java.net.InetAddress> |
getInetAddressesOfGroupMebers()
Return the InetAddresses of the group members |
org.jgroups.Address |
getLocalAddress()
Returns the Address of the Local Node |
NetworkGraph<OLSRNode,Weight> |
getNetworkGraph()
Retrieves the NetworkGraph with the topology below us |
org.jgroups.View |
getView()
Returns a view with the members of the current group |
void |
registerListener(java.io.Serializable identifier,
org.jgroups.MessageListener messageListener)
Removes a Message listener from the transport layer |
void |
send(org.jgroups.Address dst,
org.jgroups.Address src,
java.io.Serializable content)
Sends an unicast message to the selected member. |
void |
send(org.jgroups.Message msg)
Sends the message to the destination of the messages. |
void |
sendToNeighbors(java.io.Serializable content)
Send a message to all neighbours (1 hop) of the current group |
void |
unregisterListener(java.io.Serializable identifier)
Add a Message listener in the transport layer |
Method Detail |
---|
org.jgroups.Address getLocalAddress()
java.lang.String getChannelName()
java.util.List<java.net.InetAddress> getInetAddressesOfGroupMebers()
NetworkGraph<OLSRNode,Weight> getNetworkGraph()
org.jgroups.View getView()
View
void close()
void send(org.jgroups.Message msg)
void send(org.jgroups.Address dst, org.jgroups.Address src, java.io.Serializable content)
void sendToNeighbors(java.io.Serializable content)
void unregisterListener(java.io.Serializable identifier)
listener
- PullPushAdapter
void registerListener(java.io.Serializable identifier, org.jgroups.MessageListener messageListener)
listener
- PullPushAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |