public abstract class Invocation extends Object
| Modifier | Constructor and Description | 
|---|---|
| protected  | Invocation(int index)Construct a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getIndex()Get the invocation index. | 
| abstract void | handleClosed()Handle closure of the channel. | 
| abstract void | handleException(IOException exception)Handle a failure that occurred on the channel while the invocation was outstanding. | 
| abstract void | handleResponse(int parameter,
              MessageInputStream inputStream)Handle a response on this invocation. | 
protected Invocation(int index)
index - the invocation indexpublic int getIndex()
public abstract void handleResponse(int parameter,
                                    MessageInputStream inputStream)
inputStream is closed.parameter - the numeric parameter passed in to the trackerinputStream - the body of the messagepublic abstract void handleClosed()
public abstract void handleException(IOException exception)
exception - the exception that was thrownCopyright © 2018 JBoss by Red Hat. All rights reserved.