|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.jeri.BasicInvocationHandler
com.sun.jini.example.hello.ConfirmingInvocationHandler
public class ConfirmingInvocationHandler
Defines an invocation handler that confirms calls.
Constructor Summary | |
---|---|
ConfirmingInvocationHandler(ConfirmingInvocationHandler other,
net.jini.core.constraint.MethodConstraints clientConstraints)
Create a confirming invocation handler from a basic handler and constraints. |
|
ConfirmingInvocationHandler(net.jini.jeri.ObjectEndpoint oe,
net.jini.core.constraint.MethodConstraints serverConstraints)
Create a confirming invocation handler for the object endpoint and server constraints. |
Method Summary | |
---|---|
protected void |
marshalArguments(Object proxy,
Method method,
Object[] args,
ObjectOutputStream out,
Collection context)
Asks whether the call should be made, then writes a call identifier before the arguments. |
Methods inherited from class net.jini.jeri.BasicInvocationHandler |
---|
checkTrustEquivalence, createMarshalInputStream, createMarshalOutputStream, equals, getClientConstraints, getObjectEndpoint, getServerConstraints, hashCode, invoke, marshalMethod, setClientConstraints, toString, unmarshalReturn, unmarshalThrow |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfirmingInvocationHandler(ConfirmingInvocationHandler other, net.jini.core.constraint.MethodConstraints clientConstraints)
public ConfirmingInvocationHandler(net.jini.jeri.ObjectEndpoint oe, net.jini.core.constraint.MethodConstraints serverConstraints)
Method Detail |
---|
protected void marshalArguments(Object proxy, Method method, Object[] args, ObjectOutputStream out, Collection context) throws IOException
marshalArguments
in class net.jini.jeri.BasicInvocationHandler
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |