|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.hq.transport.util.AsynchronousInvocationHandler
public abstract class AsynchronousInvocationHandler
The handler for making asynchronous invocations. If the invocations must
be guaranteed, then any state associated with the invocation must be
made Externalizable.
| Constructor Summary | |
|---|---|
AsynchronousInvocationHandler()
Public no-arg constructor required for externalization. |
|
AsynchronousInvocationHandler(boolean guaranteed)
Creates an instance. |
|
| Method Summary | |
|---|---|
abstract void |
handleInvocation()
Handle the invocation. |
boolean |
isInvocationGuaranteed()
|
void |
readExternal(java.io.ObjectInput in)
Subclasses should only extend this method, never override it. |
void |
run()
Delegates to handleInvocation() but swallows any exceptions
throw during invocation handling. |
void |
writeExternal(java.io.ObjectOutput out)
Subclasses should only extend this method, never override it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsynchronousInvocationHandler()
public AsynchronousInvocationHandler(boolean guaranteed)
guaranteed - true if the invocation is guaranteed.| Method Detail |
|---|
public final void run()
handleInvocation() but swallows any exceptions
throw during invocation handling.
run in interface java.lang.Runnablepublic final boolean isInvocationGuaranteed()
true if the invocation is guaranteed.
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)
public abstract void handleInvocation()
throws java.lang.Exception
java.lang.Exception - if invocation handling fails.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||