org.objectweb.carol.rmi.jrmp.interceptor
Class JRMPServerRequestInfoImpl

java.lang.Object
  extended byorg.objectweb.carol.rmi.jrmp.interceptor.JRMPServerRequestInfoImpl
All 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  java.util.ArrayList scTable
          Request Service Context ArrayList
 
Constructor Summary
JRMPServerRequestInfoImpl()
          Empty constructor available for Request Information
 
Method Summary
 void add_all_reply_service_context(java.util.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
 java.util.Collection get_all_reply_service_context()
          Get the all the reply service context
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scTable

protected java.util.ArrayList scTable
Request Service Context ArrayList

Constructor Detail

JRMPServerRequestInfoImpl

public JRMPServerRequestInfoImpl()
Empty constructor available for Request Information

Method Detail

add_reply_service_context

public void add_reply_service_context(JServiceContext jServiceContext)
add a JServicecontext

Specified by:
add_reply_service_context in interface JServerRequestInfo

add_all_reply_service_context

public void add_all_reply_service_context(java.util.Collection c)
Add the all the reply service context

Specified by:
add_all_reply_service_context in interface JServerRequestInfo
Parameters:
c - Services contexts

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

get_all_request_service_context

public java.util.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_all_reply_service_context

public java.util.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

hasContexts

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

Specified by:
hasContexts in interface JRequestInfo

clearAllContexts

public void clearAllContexts()
clear the service contexts table

Specified by:
clearAllContexts in interface JRequestInfo