|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
public static class InvocationMarshaller.ListenerMarshaller
Provides a base from which invocation listener marshallers extend.
| Field Summary | |
|---|---|
protected String |
_invId
On the server, the id of the invocation method. |
int |
callerOid
The oid of the invocation service requester. |
InvocationService.InvocationListener |
listener
The actual invocation listener associated with this marshalling listener. |
long |
mapStamp
The time at which this listener marshaller was registered. |
DObjectManager |
omgr
The distributed object manager to use when dispatching proxied responses. |
static int |
REQUEST_FAILED_RSPID
The method id used to dispatch a requestFailed(java.lang.String) response. |
short |
requestId
The request id associated with this listener. |
Transport |
transport
The transport mode through which the request was received. |
| Constructor Summary | |
|---|---|
InvocationMarshaller.ListenerMarshaller()
|
|
| Method Summary | |
|---|---|
void |
dispatchResponse(int methodId,
Object[] args)
Called to dispatch an invocation response to our target listener. |
protected void |
finalize()
|
void |
requestFailed(String cause)
Called to report request failure. |
void |
setInvocationId(String name)
Set an identifier for the invocation that this listener is used for, so we can report it if we are never responded-to. |
void |
setNoResponse()
Indicates that this listener will not be responded-to, and that this is normal behavior. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REQUEST_FAILED_RSPID
requestFailed(java.lang.String) response.
public short requestId
public transient int callerOid
public transient InvocationService.InvocationListener listener
public transient long mapStamp
public transient DObjectManager omgr
public transient Transport transport
protected transient String _invId
| Constructor Detail |
|---|
public InvocationMarshaller.ListenerMarshaller()
| Method Detail |
|---|
public void setInvocationId(String name)
public void setNoResponse()
public void requestFailed(String cause)
InvocationService.InvocationListener
requestFailed in interface InvocationService.InvocationListener
public void dispatchResponse(int methodId,
Object[] args)
public String toString()
toString in class Object
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||