public class InvocationMarshaller<T extends ClientObject> extends Object implements Streamable, InvocationService<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
InvocationMarshaller.ConfirmMarshaller
Defines a marshaller for the standard
InvocationService.ConfirmListener. |
static class |
InvocationMarshaller.ListenerMarshaller
Provides a base from which invocation listener marshallers extend.
|
static class |
InvocationMarshaller.ResultMarshaller
Defines a marshaller for the standard
InvocationService.ResultListener. |
Streamable.ClosureInvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener| Constructor and Description |
|---|
InvocationMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
int |
getInvocationCode()
Returns the code assigned to this marshaller.
|
void |
init(int invOid,
int invCode,
InvocationDirector invDir)
Initializes this invocation marshaller instance with the requisite information to allow it
to operate in the wide world.
|
void |
readObject(ObjectInputStream in)
A custom reader method for
Streamable. |
void |
setInvocationOid(int invOid)
Sets the invocation oid to which this marshaller should send its invocation service
requests.
|
static void |
setNoResponse(InvocationService.InvocationListener listener)
A convenience method to indicate that the listener is not going to be responded-to, and that
this is ok.
|
String |
toString() |
public void init(int invOid,
int invCode,
InvocationDirector invDir)
public void setInvocationOid(int invOid)
public int getInvocationCode()
public static void setNoResponse(InvocationService.InvocationListener listener)
public void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Streamable.IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.