|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjgroup.relacs.gmi.GroupInvocationHandler
public class GroupInvocationHandler
Invocation handler (the proxy) at client side. Marshalls call and passes it down to lower layers.
Field Summary | |
---|---|
static java.lang.String |
TYPE
Invocation handler type |
Constructor Summary | |
---|---|
GroupInvocationHandler()
Constructor for externalization |
|
GroupInvocationHandler(net.jini.jeri.ObjectEndpoint oe,
MethodTable methodTable)
Construct a new GroupInvocationHandler for the given group ObjectEndpoint |
Method Summary | |
---|---|
GroupEndPoint |
getGroupEndPoint()
|
java.lang.String |
getType()
Return the invocation handler type |
int |
hashCode()
Returns a hash code value for this invocation handler. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected InvocationResult |
invokeRequest(IID iid,
MethodDetails minfo,
java.lang.Object[] args,
net.jini.jeri.OutboundRequest req)
Try to invoke method using given request |
void |
merge(ExternalGMIService.BootstrapInvocationHandler handler)
Merge this handler with the given handler. |
void |
readExternal(java.io.ObjectInput in)
|
void |
setGroupManager(GroupManager gm)
Initialize the timestamp service. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE
Constructor Detail |
---|
public GroupInvocationHandler()
public GroupInvocationHandler(net.jini.jeri.ObjectEndpoint oe, MethodTable methodTable)
oe
- the group object endpointmethodTable
- the table of remote methods accessible through this
invocation handler.Method Detail |
---|
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Exception
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Exception
public int hashCode()
hashCode
in class java.lang.Object
protected InvocationResult invokeRequest(IID iid, MethodDetails minfo, java.lang.Object[] args, net.jini.jeri.OutboundRequest req) throws java.io.IOException, JgroupException
iid
- Invocation Identifier for invocationminfo
- Method to be invokedargs
- Arguments to pass to methodreq
- OutboundRequest to use
java.io.IOException
JgroupException
public GroupEndPoint getGroupEndPoint()
public void setGroupManager(GroupManager gm)
gm
- The group manager of the client group.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public java.lang.String getType()
ExternalGMIService.BootstrapInvocationHandler
getType
in interface ExternalGMIService.BootstrapInvocationHandler
public void merge(ExternalGMIService.BootstrapInvocationHandler handler) throws JgroupException, java.rmi.RemoteException
ExternalGMIService.BootstrapInvocationHandler
merge
in interface ExternalGMIService.BootstrapInvocationHandler
handler
- BootstrapInvoationHandler
handler to merge with
JgroupException
- if merge failed for some reason
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |