public interface CSMPSubscriberChannel extends CSMPChannel
CSMPSubscriberChannel| Modifier and Type | Field and Description |
|---|---|
static String |
GENERAL_SUB_ALLOCATOR_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
enqueuePriorityData(WireMessage msg) |
JCSMPReconnectEventHandler |
getReconnectHandler() |
SubFlowManagerImpl |
getSubFlowManager() |
int |
sendAckMessage(WireMessage ackMsg,
boolean allowOnStateSub,
boolean allowReactorFinishWrite) |
void |
sendBindRequest(Endpoint bindTo,
Topic topicName,
int winSz,
int corrTag,
boolean allowOnStateSub,
String flowName,
AssuredCtrlEnums.FlowType flowType,
long lastMsgIdAcked,
long lastMsgIdRecved,
String sqlSelector,
EndpointProperties tmpEpCreateProperties,
Long transactedSessionId,
boolean noLocal,
boolean activeFlowIndication,
TcpChannel.WriteBlockPolicy wpolicy) |
boolean |
sendUnbindRequest(long flowId,
Integer corrTag,
boolean allowOnStateSub,
boolean linger,
TcpChannel.WriteBlockPolicy wpolicy,
Long lastMsgIdAcked) |
void |
sendUnsubscribeRequest(String endpointName,
int corrTag,
boolean allowOnStateSub,
TcpChannel.WriteBlockPolicy wpolicy) |
void |
setReconnectEventHandler(JCSMPReconnectEventHandler handler) |
void |
setSubFlowManager(SubFlowManagerImpl subFlowMgr) |
void |
start()
Enable reading message from underlying connection
|
void |
stop()
Disable reading message from underlying connection
|
cleanupBuffers, close, connected, getChannelProperties, isAutoReconnector, isUserCloseable, openstatic final String GENERAL_SUB_ALLOCATOR_NAME
void start()
throws JCSMPException
JCSMPException - on errorvoid stop()
SubFlowManagerImpl getSubFlowManager()
void setSubFlowManager(SubFlowManagerImpl subFlowMgr)
int sendAckMessage(WireMessage ackMsg, boolean allowOnStateSub, boolean allowReactorFinishWrite) throws JCSMPException
JCSMPExceptionvoid enqueuePriorityData(WireMessage msg)
JCSMPReconnectEventHandler getReconnectHandler()
void setReconnectEventHandler(JCSMPReconnectEventHandler handler)
void sendBindRequest(Endpoint bindTo, Topic topicName, int winSz, int corrTag, boolean allowOnStateSub, String flowName, AssuredCtrlEnums.FlowType flowType, long lastMsgIdAcked, long lastMsgIdRecved, String sqlSelector, EndpointProperties tmpEpCreateProperties, Long transactedSessionId, boolean noLocal, boolean activeFlowIndication, TcpChannel.WriteBlockPolicy wpolicy) throws JCSMPException
JCSMPExceptionboolean sendUnbindRequest(long flowId,
Integer corrTag,
boolean allowOnStateSub,
boolean linger,
TcpChannel.WriteBlockPolicy wpolicy,
Long lastMsgIdAcked)
throws JCSMPException
JCSMPExceptionvoid sendUnsubscribeRequest(String endpointName, int corrTag, boolean allowOnStateSub, TcpChannel.WriteBlockPolicy wpolicy) throws JCSMPException
JCSMPExceptionCopyright 2004-2020 Solace Corporation. All rights reserved.