org.objectweb.carol.rmi.jrmp.interceptor
Interface JRequestInfo

All Known Subinterfaces:
JClientRequestInfo, JServerRequestInfo
All Known Implementing Classes:
JRMPClientRequestInfoImpl, JRMPServerRequestInfoImpl

public interface JRequestInfo

Class JRequestInfo is the CAROL JRMP general Request info

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Method Summary
 JServiceContext[] get_all_reply_service_context()
          Get the all the reply service context if there is no context return null
 JServiceContext[] get_all_request_service_context()
          Get the all the request service context if there is no context return null
 JServiceContext get_reply_service_context(int id)
          Get the context specifie by this id if there is no context corresponding with this id return null
 JServiceContext get_request_service_context(int id)
          Get the context specifie by this id if there is no context corresponding with this id return null
 boolean hasContexts()
          true if exit one or more context
 

Method Detail

get_request_service_context

public JServiceContext get_request_service_context(int id)
Get the context specifie by this id if there is no context corresponding with this id return null

Parameters:
id - the context id
Returns:
JServiceContex the specific ServiceContext

get_all_request_service_context

public JServiceContext[] get_all_request_service_context()
Get the all the request service context if there is no context return null

Returns:
JServiceContext [] the ServiceContexts

get_reply_service_context

public JServiceContext get_reply_service_context(int id)
Get the context specifie by this id if there is no context corresponding with this id return null

Parameters:
id - the context id
Returns:
JServiceContex the specific ServiceContext

get_all_reply_service_context

public JServiceContext[] get_all_reply_service_context()
Get the all the reply service context if there is no context return null

Returns:
JServiceContext [] the ServiceContexts

hasContexts

public boolean hasContexts()
true if exit one or more context