public class JRMPServerRequestInfoImpl extends java.lang.Object implements JServerRequestInfo
JRMPServerRequestInfoImpl
is the CAROL JRMP Server
Request info (JServerRequestInfo) ImplementationJServerRequestInfo
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList |
scTable
Request Service Context ArrayList
|
Constructor and Description |
---|
JRMPServerRequestInfoImpl()
Empty constructor available for Request Information
|
Modifier and Type | Method and Description |
---|---|
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
|
public JRMPServerRequestInfoImpl()
public void add_reply_service_context(JServiceContext jServiceContext)
add_reply_service_context
in interface JServerRequestInfo
JServiceContext
- the context to addboolean
- replace if true replace the existing service contextpublic void add_all_reply_service_context(java.util.Collection c)
add_all_reply_service_context
in interface JServerRequestInfo
c
- Services contextspublic JServiceContext get_request_service_context(int id)
get_request_service_context
in interface JRequestInfo
id
- the context idpublic java.util.Collection get_all_request_service_context()
get_all_request_service_context
in interface JRequestInfo
public JServiceContext get_reply_service_context(int id)
get_reply_service_context
in interface JRequestInfo
id
- the context idpublic java.util.Collection get_all_reply_service_context()
get_all_reply_service_context
in interface JRequestInfo
public boolean hasContexts()
hasContexts
in interface JRequestInfo
public void clearAllContexts()
clearAllContexts
in interface JRequestInfo