public class AppServerInvocationResult extends RemoteInvocationResult implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
agentId
The response for the
OERequestInfo:agentId value. |
private java.lang.String |
clientContextId
The response for the
OERequestInfo:clientContextId value. |
private byte[] |
clientPrincipal
The response for the
OERequestInfo:clientPrincipal value. |
private java.lang.String |
clientType
The response for the
OERequestInfo:versionInfo value. |
private java.lang.String |
connectionID
The connection ID, returned during the connect request.
|
private boolean |
invalidInHandle
Flag indicating that the requester's IN HANDLE has been deleted by the remote side.
|
private java.lang.String |
procedureId
The remote procedure handle, used to build a
ProxyProcedureWrapper instance. |
private java.lang.String |
requestId
The response for the
OERequestInfo:requestId value. |
private java.lang.Integer |
sessionId
The response for the
OERequestInfo:sessionId value. |
private java.lang.Integer |
threadId
The response for the
OERequestInfo:threadId value. |
private java.lang.String[] |
versionInfo
The response for the
OERequestInfo:versionInfo value. |
arguments, error, modes, result
Constructor and Description |
---|
AppServerInvocationResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAgentId()
Get the
agentId . |
java.lang.String |
getClientContextId()
Get the
clientContextId . |
byte[] |
getClientPrincipal()
Get the
clientPrincipal . |
java.lang.String |
getClientType()
Get the
clientType . |
java.lang.String |
getConnectionID()
Get the established connection ID, for a connect request.
|
java.lang.String |
getProcedureId()
Get the handle code for the remote persistent procedure.
|
java.lang.String |
getRequestId()
Get the
requestId . |
java.lang.Integer |
getSessionId()
Get the
sessionId . |
java.lang.Integer |
getThreadId()
Get the
threadId . |
java.lang.String[] |
getVersionInfo()
Get the
versionInfo . |
boolean |
isInvalidInHandle()
Get the state of the
invalidInHandle flag. |
void |
readExternal(java.io.ObjectInput in)
Used the specified input source and initialize this instance.
|
void |
setAgentId(java.lang.Integer agentId)
Set the
agentId . |
void |
setClientContextId(java.lang.String clientContextId)
Set the
clientContextId . |
void |
setClientPrincipal(byte[] clientPrincipal)
Set the
clientPrincipal . |
void |
setClientType(java.lang.String clientType)
Set the
clientType . |
void |
setConnectionID(java.lang.String connectionID)
Set the new connection ID, after a connect request.
|
void |
setInvalidInHandle(boolean invalidInHandle)
Set the state of the
invalidInHandle flag. |
void |
setProcedureId(java.lang.String procedureId)
Save the remote persistent procedure handle's code.
|
void |
setRequestId(java.lang.String requestId)
Set the
requestId . |
boolean |
setReturnValue()
Check if the RETURN-VALUE will be set.
|
void |
setSessionId(java.lang.Integer sessionId)
Set the
sessionId . |
void |
setThreadId(java.lang.Integer threadId)
Set the
threadId . |
void |
setVersionInfo(java.lang.String[] versionInfo)
Set the
versionInfo . |
void |
storeResponse(object<? extends OerequestInfo> currentResponseInfo)
Store a
OerequestInfo response from the appserver agent, to be sent to the caller. |
void |
writeExternal(java.io.ObjectOutput out)
Serialize this object, to be picked up by the other side.
|
getArguments, getError, getModes, getResult, setArguments, setError, setModes, setResult
private java.lang.String procedureId
ProxyProcedureWrapper
instance.private java.lang.String connectionID
private java.lang.String clientContextId
OERequestInfo:clientContextId
value.private java.lang.String requestId
OERequestInfo:requestId
value.private java.lang.String[] versionInfo
OERequestInfo:versionInfo
value.private java.lang.String clientType
OERequestInfo:versionInfo
value.private java.lang.Integer agentId
OERequestInfo:agentId
value.private java.lang.Integer sessionId
OERequestInfo:sessionId
value.private java.lang.Integer threadId
OERequestInfo:threadId
value.private byte[] clientPrincipal
OERequestInfo:clientPrincipal
value.private boolean invalidInHandle
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which the data will be sent.java.io.IOException
- In case of I/O errors.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The input source from which the data will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public boolean isInvalidInHandle()
invalidInHandle
flag.public void setInvalidInHandle(boolean invalidInHandle)
invalidInHandle
flag.invalidInHandle
- The new flag value.public java.lang.String getProcedureId()
procedureId
field.public void setProcedureId(java.lang.String procedureId)
procedureId
- The code for the remote persistent procedure handle.public java.lang.String getConnectionID()
public void setConnectionID(java.lang.String connectionID)
connectionID
- The connection ID, which will be unknown if there are any errors
.public boolean setReturnValue()
setReturnValue
in class RemoteInvocationResult
true
.public java.lang.String getClientContextId()
clientContextId
.public void setClientContextId(java.lang.String clientContextId)
clientContextId
.clientContextId
- The clientContextId to setpublic java.lang.String getRequestId()
requestId
.public void setRequestId(java.lang.String requestId)
requestId
.requestId
- The requestId to setpublic java.lang.String[] getVersionInfo()
versionInfo
.public void setVersionInfo(java.lang.String[] versionInfo)
versionInfo
.versionInfo
- The versionInfo to setpublic java.lang.String getClientType()
clientType
.public void setClientType(java.lang.String clientType)
clientType
.clientType
- The clientType to setpublic java.lang.Integer getAgentId()
agentId
.public void setAgentId(java.lang.Integer agentId)
agentId
.agentId
- The agentId to setpublic java.lang.Integer getSessionId()
sessionId
.public void setSessionId(java.lang.Integer sessionId)
sessionId
.sessionId
- The sessionId to setpublic java.lang.Integer getThreadId()
threadId
.public void setThreadId(java.lang.Integer threadId)
threadId
.threadId
- The threadId to setpublic byte[] getClientPrincipal()
clientPrincipal
.public void setClientPrincipal(byte[] clientPrincipal)
clientPrincipal
.clientPrincipal
- The clientPrincipal to setpublic void storeResponse(object<? extends OerequestInfo> currentResponseInfo)
OerequestInfo
response from the appserver agent, to be sent to the caller.currentResponseInfo
- The SESSION:CURRENT-RESPONSE-INFO
instance.