public class LogoutResponse extends java.lang.Object implements Response
Constructor and Description |
---|
LogoutResponse() |
LogoutResponse(int code) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getDeniedCause() |
int |
getResponseCode() |
void |
readExternal(java.io.ObjectInput in) |
void |
setDeniedCause(java.lang.Throwable deniedCause) |
void |
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for version checking
|
void |
setResponseCode(int responseCode) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public LogoutResponse()
public LogoutResponse(int code)
public void setMetaData(ProtocolMetaData metaData)
Response
setMetaData
in interface Response
metaData
- ProtocolMetaDatapublic java.lang.Throwable getDeniedCause()
public void setDeniedCause(java.lang.Throwable deniedCause)
public int getResponseCode()
public void setResponseCode(int responseCode)
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