com.sentilla.platform.cmote
Class ClientRadioProtocol.Sender
java.lang.Object
com.sentilla.platform.cmote.DispatcherAction
com.sentilla.platform.cmote.Sender
com.sentilla.platform.cmote.ClientRadioProtocol.Sender
- All Implemented Interfaces:
- Sender, Action
- Enclosing class:
- ClientRadioProtocol
public static class ClientRadioProtocol.Sender
- extends Sender
Provides sender class for the simulated radio.
- See Also:
Sender
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timestamp
public long timestamp
ClientRadioProtocol.Sender
public ClientRadioProtocol.Sender()
- Provides initialization for Sender.
- See Also:
Sender
setAddress
public void setAddress(Addressable addr)
- Description copied from class:
Sender
- Sets the destination address.
Any valid object implementing the Addressable interface can be set
as the destination address. The protocols extending this class
should throw an error if the address object is not supported.
- Specified by:
setAddress
in interface Sender
- Specified by:
setAddress
in class Sender
- Parameters:
addr
- object implementing Addressable interface to be used as address- See Also:
Addressable
submit
public Action submit()
- Description copied from class:
DispatcherAction
- Submits
this
for processing, returns true if succeeded.
Used by the Sender and Receiver
to implement the system Action
interface. Classes deriving from
DispatcherAction must implement the subsubmit()
method.
- Specified by:
submit
in interface Action
- Overrides:
submit
in class DispatcherAction
- Returns:
- the DispatcherAction object.
- See Also:
Action
Copyright © 2007 Sentilla Corporation. All Rights Reserved.