org.apache.openejb.client
Class ClusterResponse
java.lang.Object
org.apache.openejb.client.ClusterResponse
- All Implemented Interfaces:
- Externalizable, Serializable, Response
public class ClusterResponse
- extends Object
- implements Response
- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterResponse
public ClusterResponse(ClusterResponse.Code responseCode)
ClusterResponse
public ClusterResponse()
setMetaData
public void setMetaData(ProtocolMetaData metaData)
- Description copied from interface:
Response
- Set the protocol metadata that can be used for version checking
- Specified by:
setMetaData in interface Response
- Parameters:
metaData - ProtocolMetaData
getResponseCode
public ClusterResponse.Code getResponseCode()
setCurrent
public void setCurrent()
setUpdatedMetaData
public void setUpdatedMetaData(ClusterMetaData updatedMetaData)
getUpdatedMetaData
public ClusterMetaData getUpdatedMetaData()
getFailure
public Throwable getFailure()
setFailure
public void setFailure(Throwable failure)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Specified by:
readExternal in interface Response
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Specified by:
writeExternal in interface Response
- Throws:
IOException
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.