|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.net.connector.MarshalledInvocation
public class MarshalledInvocation
An Invocation
where the Request
is wrapped
in an MarshalledObject
.
Constructor Summary | |
---|---|
MarshalledInvocation(java.rmi.MarshalledObject request,
Caller caller)
Construct a new MarshalledInvocation . |
Method Summary | |
---|---|
Caller |
getCaller()
Returns the caller performing the invocation. |
java.rmi.MarshalledObject |
getMarshalledResponse()
Returns the result of the invocation, wrapped in a MarshalledObject . |
Request |
getRequest()
Returns the request. |
Response |
getResponse()
Returns the result of the invocation. |
void |
setResponse(Response response)
Sets the result of the invocation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarshalledInvocation(java.rmi.MarshalledObject request, Caller caller)
MarshalledInvocation
.
request
- the marshalled Request
instancecaller
- the caller performing the invocationMethod Detail |
---|
public Request getRequest() throws java.lang.Throwable
getRequest
in interface Invocation
java.lang.Throwable
- for any errorpublic Caller getCaller()
getCaller
in interface Invocation
public void setResponse(Response response)
setResponse
in interface Invocation
response
- the resultpublic Response getResponse() throws java.lang.InterruptedException
java.lang.InterruptedException
- if interruptedpublic java.rmi.MarshalledObject getMarshalledResponse() throws java.io.IOException, java.lang.InterruptedException
MarshalledObject
.
java.io.IOException
- if the response can't be marshalld
java.lang.InterruptedException
- if interrupted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |