|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.ServerInvokerCallbackHandler
Responsible for all callbacks in remoting at invoker level (on the server side).
Field Summary | |
static java.lang.String |
CALLBACK_MEM_CEILING
The map key to use when looking up the percentage of free memory available before tiggering persistence. |
static java.lang.String |
CALLBACK_STORE_KEY
The map key to use when looking up any callback store that should be used. |
Constructor Summary | |
ServerInvokerCallbackHandler(InvocationRequest (src) invocation,
InvokerLocator (src) serverLocator,
ServerInvoker (src) owner)
|
Method Summary | |
void |
destroy()
This method is required to be called upon removing a callback listener so can clean up resources used by the handler. |
Client (src) |
getCallbackClient()
|
java.util.List |
getCallbacks()
|
java.lang.String |
getId()
Returns an id that can be used to identify this particular callback handler, which should be representative of the client invoker it will make callbacks to. |
static java.lang.String |
getId(InvocationRequest (src) invocation)
Returns an id that can be used to identify this particular callback handler, which should be representative of the client invoker it will make callbacks to. |
java.lang.Double |
getMemPercentCeiling()
|
void |
handleCallback(InvocationRequest (src) callback)
Will take the callback message and send back to client. |
boolean |
isPullCallbackHandler()
|
void |
setMemPercentCeiling(java.lang.Double ceiling)
|
java.lang.String |
toString()
Returns the id for this handler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CALLBACK_STORE_KEY
public static final java.lang.String CALLBACK_MEM_CEILING
Constructor Detail |
public ServerInvokerCallbackHandler(InvocationRequest (src) invocation, InvokerLocator (src) serverLocator, ServerInvoker (src) owner) throws java.lang.Exception
Method Detail |
public void setMemPercentCeiling(java.lang.Double ceiling)
public java.lang.Double getMemPercentCeiling()
public Client (src) getCallbackClient()
public static java.lang.String getId(InvocationRequest (src) invocation)
public java.lang.String getId()
public java.util.List getCallbacks()
public boolean isPullCallbackHandler()
public void handleCallback(InvocationRequest (src) callback) throws HandleCallbackException (src)
handleCallback
in interface InvokerCallbackHandler (src)
callback
-
HandleCallbackException (src)
public java.lang.String toString()
public void destroy()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |