|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.ClientRuntime
public class ClientRuntime
Implements Ubik RMI's client-side runtime environment. This class' main task is to manage remote references and client-side interceptors.
| Field Summary | |
|---|---|
MultiDispatcher |
dispatcher
The dispatcher of events destined to be intercepted by Interceptor instances. |
| Method Summary | |
|---|---|
void |
addInterceptor(java.lang.Class eventClass,
Interceptor it)
Adds a client-side interceptor to this client. |
void |
dispatchEvent(Event event)
Dispatches the given event to registered interceptors. |
ServerAddress |
getCallbackAddress(java.lang.String transportType)
Returns this client's call-back server address (corresponds to the this client's singleton server, which will process incoming responses). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final MultiDispatcher dispatcher
Interceptor instances.
Dispatches client-side events. This mechanism can conveniently be used by client apps
to dispatch their own custom events.
Interceptor| Method Detail |
|---|
public ServerAddress getCallbackAddress(java.lang.String transportType)
throws java.lang.IllegalStateException
ServerAddress for call-backs.
java.lang.IllegalStateException - if this client does not allow call-backs.Consts.CALLBACK_ENABLED
public void addInterceptor(java.lang.Class eventClass,
Interceptor it)
throws InvalidInterceptorException
InvalidInterceptorExceptionInterceptor,
MultiDispatcher.addInterceptor(Class, Interceptor)public void dispatchEvent(Event event)
Interceptor,
MultiDispatcher.addInterceptor(Class, Interceptor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||