|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sentilla.system.DriverAdapter
com.sentilla.platform.tmote.Protocol
com.sentilla.platform.tmote.RemoteServiceProtocol
public class RemoteServiceProtocol
Provides a Protocol handler for the RemoteService API. Because this service runs in the system thread, RPC calls will disrupt system tasks while in execution.
RemoteService
,
Procedure
,
RemoteInvoker
Field Summary |
---|
Fields inherited from class com.sentilla.system.DriverAdapter |
---|
m_nextDriver |
Constructor Summary | |
---|---|
RemoteServiceProtocol()
|
Method Summary | |
---|---|
boolean |
doesInstanceMatch(Object obj)
Check for RPC messages. |
String |
getDriverName(int n)
This driver is not to be referenced by name. |
Receiver |
newReceiver()
Do not use. |
Sender |
newSender()
Do not use. |
void |
stackReceive(Receiver rcvr)
Handles incoming RPC calls. |
void |
stackSend(Sender sender)
Do not use. |
Methods inherited from class com.sentilla.system.DriverAdapter |
---|
getNextDriver, setNextDriver |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteServiceProtocol()
Method Detail |
---|
public void stackReceive(Receiver rcvr)
stackReceive
in class Protocol
rcvr
- the Receiver object containing the object received
// * @see DispatcherReceiver
public void stackSend(Sender sender)
stackSend
in class Protocol
sender
- Sender object containing the object to be sent.Dispatcher
,
Sender
public Sender newSender()
newSender
in class Protocol
Sender
public Receiver newReceiver()
newReceiver
in class Protocol
Receiver
public boolean doesInstanceMatch(Object obj)
doesInstanceMatch
in class Protocol
obj
- object to evaluate
public String getDriverName(int n)
getDriverName
in interface Driver
getDriverName
in class DriverAdapter
n
- index of the LoopBackProtocol string name
Driver
,
Drivers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |