ist.palcom.connections
Class RadiocastConnection

java.lang.Object
  extended by ist.palcom.connections.Connection
      extended by ist.palcom.connections.RadiocastConnection
All Implemented Interfaces:
IHgraphNode

public class RadiocastConnection
extends Connection

A connection for receiving radiocast messages. It reads messages, and passes them to registered message receivers.


Field Summary
 
Fields inherited from class ist.palcom.connections.Connection
communicationManager
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
RadiocastConnection(CommunicationManager communicationManager, DeviceID remoteDeviceID, Selector remoteSelector)
          Used for the receiving side of the radiocast connection.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 DeviceID getRemoteDeviceID()
           
 Selector getSelector()
           
 void sendMessage(Message message)
          Stub method: A radiocast receiver cannot send messages.
 
Methods inherited from class ist.palcom.connections.Connection
addMessageReceiver, addNodeChild, fireMessage, getChildIterator, getFuncFunc, getNodeName, getNodeParent, getPath, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeMessageReceiver, removeNodeChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiocastConnection

public RadiocastConnection(CommunicationManager communicationManager,
                           DeviceID remoteDeviceID,
                           Selector remoteSelector)
Used for the receiving side of the radiocast connection.

Method Detail

sendMessage

public void sendMessage(Message message)
Stub method: A radiocast receiver cannot send messages.

Specified by:
sendMessage in class Connection

getRemoteDeviceID

public DeviceID getRemoteDeviceID()

getSelector

public Selector getSelector()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object