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, getType
public 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.IllegalArgumentException
public long getEventType()
SolEvent
getEventType
in interface SolEvent
public java.lang.String toString()
SolJMSEvent
toString
in interface SolEvent
toString
in class SolJMSEvent<SolConsumerEvent.EventType>
public void setFlowState(int flowState) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public int getFlowState()
Copyright 2004-2024 Solace Corporation. All rights reserved.