org.apache.openejb.client
Class ClusterRequest

java.lang.Object
  extended by org.apache.openejb.client.ClusterRequest
All Implemented Interfaces:
Externalizable, Serializable, Request

public class ClusterRequest
extends Object
implements Request

Version:
$Rev$ $Date$
See Also:
Serialized Form

Constructor Summary
ClusterRequest()
           
ClusterRequest(ClusterMetaData clusterMetaData)
           
 
Method Summary
 long getClusterMetaDataVersion()
           
 RequestType getRequestType()
           
 void readExternal(ObjectInput in)
          Changes to this method must observe the optional metaData version
 void setMetaData(ProtocolMetaData metaData)
          Set the protocol metadata that can be used for versioned requests
 void writeExternal(ObjectOutput out)
          Changes to this method must observe the optional metaData version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterRequest

public ClusterRequest()

ClusterRequest

public ClusterRequest(ClusterMetaData clusterMetaData)
Method Detail

setMetaData

public void setMetaData(ProtocolMetaData metaData)
Description copied from interface: Request
Set the protocol metadata that can be used for versioned requests

Specified by:
setMetaData in interface Request
Parameters:
metaData - ProtocolMetaData

getRequestType

public RequestType getRequestType()
Specified by:
getRequestType in interface Request

getClusterMetaDataVersion

public long getClusterMetaDataVersion()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Changes to this method must observe the optional metaData version

Specified by:
readExternal in interface Externalizable
Specified by:
readExternal in interface Request
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Changes to this method must observe the optional metaData version

Specified by:
writeExternal in interface Externalizable
Specified by:
writeExternal in interface Request
Throws:
IOException


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.