public class ActiveFlowIndicationEvent extends SolConsumerEvent implements SolEvent
SolQueueReceiver.
The state can alter between FLOW_INACTIVE and FLOW_ACTIVE
Such events can occur upon starting a SolQueueReceiver, due to changes in underlying connection state
or due to events indicated from the router.SolConsumerEvent.EventType| Modifier and Type | Field and Description |
|---|---|
static int |
FLOW_ACTIVE |
static int |
FLOW_INACTIVE |
static int |
FLOW_STATE_MAX |
SOLEVENT_TYPE_ACTIVE_FLOW_INDICATION| Constructor and Description |
|---|
ActiveFlowIndicationEvent() |
ActiveFlowIndicationEvent(int flowState) |
| Modifier and Type | Method and Description |
|---|---|
long |
getEventType()
Returns the event type of the SolEvent instance
as defined by constants starting with SOLEVENT_TYPE_
|
int |
getFlowState() |
void |
setFlowState(int flowState) |
java.lang.String |
toString()
Returns a string representation of the event
|
getException, getTypepublic static final int FLOW_INACTIVE
public static final int FLOW_ACTIVE
public static final int FLOW_STATE_MAX
public ActiveFlowIndicationEvent()
public ActiveFlowIndicationEvent(int flowState)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic long getEventType()
SolEventgetEventType in interface SolEventpublic java.lang.String toString()
SolJMSEventtoString in interface SolEventtoString in class SolJMSEvent<SolConsumerEvent.EventType>public void setFlowState(int flowState)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic int getFlowState()
Copyright 2004-2025 Solace Corporation. All rights reserved.