org.objectweb.carol.rmi.jrmp.interceptor

Class JRMPServerRequestInfoImpl

Implemented Interfaces:
JRequestInfo, JServerRequestInfo

public class JRMPServerRequestInfoImpl
extends java.lang.Object
implements JServerRequestInfo

Class JRMPServerRequestInfoImpl is the CAROL JRMP Server Request info (JServerRequestInfo) Implementation

Version:
1.0, 15/07/2002

Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

See Also:
JServerRequestInfo

Field Summary

protected ArrayList
scTable
Request Service Context ArrayList

Constructor Summary

JRMPServerRequestInfoImpl()
Empty constructor available for Request Information

Method Summary

void
add_all_reply_service_context(Collection c)
Add the all the reply service context
void
add_reply_service_context(JServiceContext jServiceContext)
add a JServicecontext
void
clearAllContexts()
clear the service contexts table
Collection
get_all_reply_service_context()
Get the all the reply service context
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

Field Details

scTable

protected ArrayList scTable
Request Service Context ArrayList

Constructor Details

JRMPServerRequestInfoImpl

public JRMPServerRequestInfoImpl()
Empty constructor available for Request Information

Method Details

add_all_reply_service_context

public void add_all_reply_service_context(Collection c)
Add the all the reply service context
Specified by:
add_all_reply_service_context in interface JServerRequestInfo

Parameters:
c - Services contexts


add_reply_service_context

public void add_reply_service_context(JServiceContext jServiceContext)
add a JServicecontext
Specified by:
add_reply_service_context in interface JServerRequestInfo

Parameters:


clearAllContexts

public void clearAllContexts()
clear the service contexts table
Specified by:
clearAllContexts in interface JRequestInfo


get_all_reply_service_context

public Collection get_all_reply_service_context()
Get the all the reply service context
Specified by:
get_all_reply_service_context in interface JRequestInfo

Returns:
Collection the ServiceContexts


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
Specified by:
get_all_request_service_context in interface JRequestInfo

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
Specified by:
get_reply_service_context in interface JRequestInfo

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
Specified by:
get_request_service_context in interface JRequestInfo

Parameters:
id - the context id

Returns:
JServiceContex the specific ServiceContext


hasContexts

public boolean hasContexts()
true if exit one or more context
Specified by:
hasContexts in interface JRequestInfo