org.objectweb.carol.rmi.jrmp.interceptor

Interface JRequestInfo

Known Subinterfaces:
JClientRequestInfo, JServerRequestInfo
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
Collection
get_all_reply_service_context()
Get the all the reply service context if there is no context return null
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 Details

clearAllContexts

public void clearAllContexts()
clear the service contexts table


get_all_reply_service_context

public 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


get_all_request_service_context

public 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

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_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


hasContexts

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