|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.endpoints.amf.SuspendableAMFFilter
public abstract class SuspendableAMFFilter
Base class for suspendable AMF filter implementations. This class performs no internal synchronization.
| Field Summary | |
|---|---|
static int |
DIRECTION_INBOUND
Indicates a filter is in its inbound processing state. |
static int |
DIRECTION_OUTBOUND
Indicates a filter is in its outbound processing state. |
| Constructor Summary | |
|---|---|
SuspendableAMFFilter()
Constructs a SuspendableAMFFilter. |
|
| Method Summary | |
|---|---|
static SuspendableAMFFilter |
buildChain(SuspendableAMFFilter[] members)
Utility method that takes an array of filters and connects them into a chain, preserving their relative ordering. |
ActionContext |
getContext()
Returns the ActionContext for the chain. |
int |
getDirection()
Returns the current processing direction for the chain. |
SuspendableAMFFilter |
getNext()
Returns the filter that follows this filter in a chain. |
SuspendableAMFFilter |
getPrevious()
Returns the filter that precedes this filter in a chain. |
SuspendableAMFFilter |
getSuspendedFilter()
Returns the specific filter within a chain that has been suspended and may be resumed. |
void |
invoke(ActionContext context)
Invokes the chain. |
boolean |
isInboundAborted()
Returns true if inbound processing for the chain has been aborted. |
boolean |
isSuspended()
Returns true if the chain this filter belongs to is suspended. |
void |
resume()
Resumes the execution of a suspended chain. |
void |
setContext(ActionContext value)
Sets the ActionContext for the chain. |
void |
setDirection(int value)
Sets the current processing direction for the chain. |
void |
setInboundAborted(boolean value)
Flags inbound processing as aborted. |
void |
setNext(SuspendableAMFFilter value)
Assigns a filter to follow this filter in a chain. |
void |
setPrevious(SuspendableAMFFilter value)
Assigns a filter to precede this filter in a chain. |
void |
setSuspendedFilter(SuspendableAMFFilter value)
Assigns a reference to the specific filter in the chain that is currently suspended. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DIRECTION_INBOUND
SuspendableAMFFilter.getDirection(),
Constant Field Valuespublic static final int DIRECTION_OUTBOUND
SuspendableAMFFilter.getDirection(),
Constant Field Values| Constructor Detail |
|---|
public SuspendableAMFFilter()
| Method Detail |
|---|
public static SuspendableAMFFilter buildChain(SuspendableAMFFilter[] members)
members - The individual filters for the chain in their desired order.
public boolean isInboundAborted()
true if inbound processing for the chain has been aborted.
public void setInboundAborted(boolean value)
public ActionContext getContext()
public void setContext(ActionContext value)
public int getDirection()
SuspendableAMFFilter.DIRECTION_INBOUND,
SuspendableAMFFilter.DIRECTION_OUTBOUNDpublic void setDirection(int value)
SuspendableAMFFilter.DIRECTION_INBOUND,
SuspendableAMFFilter.DIRECTION_OUTBOUNDpublic SuspendableAMFFilter getNext()
public void setNext(SuspendableAMFFilter value)
public SuspendableAMFFilter getPrevious()
public void setPrevious(SuspendableAMFFilter value)
public boolean isSuspended()
true if the chain this filter belongs to is suspended.
public SuspendableAMFFilter getSuspendedFilter()
public void setSuspendedFilter(SuspendableAMFFilter value)
public void invoke(ActionContext context)
throws IOException
IllegalStateException - If the chain is suspended; use resume() to resume a suspended chain's invocation.
IOException
public void resume()
throws IOException
IllegalStateException - If the chain is not suspended; use invoke(ActionContext) to execute an unsuspended chain.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/endpoints/amf/SuspendableAMFFilter.html