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
 void clearAllContexts()
          clear the service contexts table
 java.util.Collection get_all_reply_service_context()
          Get the all the reply service context if there is no context return null
 java.util.Collection 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

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

java.util.Collection get_all_request_service_context()
Get the all the request service context if there is no context return null

Returns:
Collection the ServiceContexts

get_reply_service_context

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

java.util.Collection get_all_reply_service_context()
Get the all the reply service context if there is no context return null

Returns:
Collection the ServiceContexts Array

hasContexts

boolean hasContexts()
true if exit one or more context


clearAllContexts

void clearAllContexts()
clear the service contexts table