public class JNDIResponse extends java.lang.Object implements ClusterableResponse
Constructor and Description |
---|
JNDIResponse() |
JNDIResponse(int code,
java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
JNDIRequest |
getRequest() |
int |
getResponseCode() |
java.lang.Object |
getResult() |
ServerMetaData |
getServer() |
void |
readExternal(java.io.ObjectInput in) |
void |
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for version checking
|
void |
setRequest(JNDIRequest request) |
void |
setResponseCode(int responseCode) |
void |
setResult(java.lang.Object result) |
void |
setServer(ServerMetaData server) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public JNDIResponse()
public JNDIResponse(int code, java.lang.Object obj)
public void setMetaData(ProtocolMetaData metaData)
Response
setMetaData
in interface Response
metaData
- ProtocolMetaDatapublic JNDIRequest getRequest()
public void setRequest(JNDIRequest request)
public int getResponseCode()
public java.lang.Object getResult()
public void setResponseCode(int responseCode)
public void setResult(java.lang.Object result)
public void setServer(ServerMetaData server)
setServer
in interface ClusterableResponse
public ServerMetaData getServer()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in interface Response
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in interface Response
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object