org.ow2.carol.rmi.interceptor.api
Interface JRequestInfo

All Known Subinterfaces:
JClientRequestInfo, JServerRequestInfo

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<JServiceContext> getAllReplyServiceContext()
          Get the all the reply service context if there is no context return null
 java.util.Collection<JServiceContext> getAllRequestServiceContext()
          Get the all the request service context if there is no context return null
 JServiceContext getReplyServiceContext(int id)
          Get the context specified by this id if there is no context corresponding with this id return null
 JServiceContext getRequestServiceContext(int id)
          Get the context specified 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

getRequestServiceContext

JServiceContext getRequestServiceContext(int id)
Get the context specified by this id if there is no context corresponding with this id return null

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

getAllRequestServiceContext

java.util.Collection<JServiceContext> getAllRequestServiceContext()
Get the all the request service context if there is no context return null

Returns:
Collection the ServiceContexts

getReplyServiceContext

JServiceContext getReplyServiceContext(int id)
Get the context specified by this id if there is no context corresponding with this id return null

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

getAllReplyServiceContext

java.util.Collection<JServiceContext> getAllReplyServiceContext()
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



Copyright © 2008 OW2 Consortium. All Rights Reserved.