|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
org.exolab.jms.net.rmi.RMIInvokerImpl
public class RMIInvokerImpl
Implementation of the RMIInvoker
interface
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
RMIInvokerImpl()
Construct a new RMIInvokerImpl |
Method Summary | |
---|---|
void |
disconnect()
Notifies that the remote peer is disconnecting. |
java.rmi.MarshalledObject |
invoke(java.rmi.MarshalledObject request)
Invoke a method on a remote object |
void |
ping()
Ping the connection to determine if it is alive |
void |
setConnection(org.exolab.jms.net.rmi.RMIManagedConnection connection)
Set the connection to delegate requests to |
void |
unreferenced()
Called by the RMI runtime sometime after the runtime determines that the reference list, the list of clients referencing the remote object, becomes empty. |
Methods inherited from class java.rmi.server.RemoteObject |
---|
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMIInvokerImpl()
RMIInvokerImpl
Method Detail |
---|
public void setConnection(org.exolab.jms.net.rmi.RMIManagedConnection connection)
connection
- the connection to delegate requests topublic java.rmi.MarshalledObject invoke(java.rmi.MarshalledObject request) throws java.rmi.MarshalException
invoke
in interface RMIInvoker
request
- the wrapped Request
java.rmi.MarshalException
- if the request can't be unmarshalled or the
response can't be marshalledpublic void ping()
ping
in interface RMIInvoker
public void disconnect()
disconnect
in interface RMIInvoker
public void unreferenced()
unreferenced
in interface java.rmi.server.Unreferenced
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |