|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.rmi.jrmp.interceptor.ProtocolInterceptor
public class ProtocolInterceptor
Class ProtocolInterceptor
is the CAROL JRMP Client Interceptor
For protocol propagation via current thread
Constructor Summary | |
---|---|
ProtocolInterceptor()
constructor |
Method Summary | |
---|---|
java.lang.String |
name()
get the name of this interceptor |
void |
receive_request(JServerRequestInfo jri)
Receive request |
void |
send_exception(JServerRequestInfo jri)
send exception with context |
void |
send_other(JServerRequestInfo jri)
|
void |
send_reply(JServerRequestInfo jri)
send reply with context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProtocolInterceptor()
String
- nameMethod Detail |
---|
public java.lang.String name()
name
in interface JServerRequestInterceptor
public void receive_request(JServerRequestInfo jri) throws java.io.IOException
receive_request
in interface JServerRequestInterceptor
JServerRequestInfo
- the jrmp server request information
java.io.IOException
- if an exception occur with the ObjectOutputpublic void send_reply(JServerRequestInfo jri) throws java.io.IOException
send_reply
in interface JServerRequestInterceptor
JServerRequestInfo
- the jrmp server request information
java.io.IOException
- if an exception occur with the ObjectOutputpublic void send_exception(JServerRequestInfo jri) throws java.io.IOException
JServerRequestInterceptor
send_exception
in interface JServerRequestInterceptor
java.io.IOException
- if an exception occur with the ObjectOutputpublic void send_other(JServerRequestInfo jri) throws java.io.IOException
send_other
in interface JServerRequestInterceptor
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |