org.objectweb.easybeans.rpc.api
Interface EJBResponse

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JEJBResponse

public interface EJBResponse
extends java.io.Serializable

Response received from the server.

Author:
Florent Benoit

Method Summary
 java.lang.Long getBeanId()
           
 java.lang.Object getValue()
           
 void setBeanId(java.lang.Long beanId)
          Sets the bean Id.
 void setValue(java.lang.Object o)
          Sets the value of the response.
 

Method Detail

getValue

java.lang.Object getValue()
Returns:
the value returned by the server wrapped in the response.

setValue

void setValue(java.lang.Object o)
Sets the value of the response.

Parameters:
o - the value.

getBeanId

java.lang.Long getBeanId()
Returns:
id of the bean.

setBeanId

void setBeanId(java.lang.Long beanId)
Sets the bean Id.

Parameters:
beanId - the id of the bean.