org.apache.openejb.client
Class EJBResponse
java.lang.Object
org.apache.openejb.client.EJBResponse
- All Implemented Interfaces:
- Externalizable, Serializable, ClusterableResponse, Response
public class EJBResponse
- extends Object
- implements ClusterableResponse
- See Also:
- Serialized Form
|
Field Summary |
static byte |
VERSION
1. |
VERSION
public static final byte VERSION
- 1. Initial
2. Append times.
- See Also:
- Constant Field Values
EJBResponse
public EJBResponse()
getResponseCode
public int getResponseCode()
getResult
public Object getResult()
setResponse
public void setResponse(byte version,
int code,
Object result)
setServer
public void setServer(ServerMetaData server)
- Specified by:
setServer in interface ClusterableResponse
getServer
public ServerMetaData getServer()
toString
public String toString()
- Overrides:
toString in class Object
start
public void start(EJBResponse.Time time)
stop
public void stop(EJBResponse.Time time)
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-2013 The Apache Software Foundation. All Rights Reserved.