public class SubFlowManagerImpl extends Object
| Constructor and Description |
|---|
SubFlowManagerImpl(JCSMPBasicSession session) |
public SubFlowManagerImpl(JCSMPBasicSession session)
public void setSubChannel(TcpClientChannel channel)
public void setLastHostSpec(String hostspec)
hostspec - parameterpublic Map<Long,FlowHandleImpl> getActiveFlows()
public void addManagedFlow(FlowHandleImpl fh)
public void regActiveFlow(FlowHandle fh)
public FlowHandleImpl createSubscriberEndpointFlow(ConsumerFlowProperties f_prop, XMLMessageListener listener, JCSMPBasicSession.InternalBindProperties bindProps) throws JCSMPException
JCSMPExceptionpublic FlowHandleImpl createQueueReceiver(ConsumerFlowProperties f_prop, EndpointProperties e_prop, XMLMessageListener listener, JCSMPBasicSession.InternalBindProperties bindProps, FlowEventHandler flowEventHandler) throws JCSMPException
JCSMPExceptionpublic FlowHandleImpl createBrowser(BrowserProperties b_prop, FlowEventHandler flowEventHandler, BrowserImpl browser) throws JCSMPException
JCSMPExceptionpublic FlowHandleImpl createDurTopicEndpointReceiver(ConsumerFlowProperties f_prop, EndpointProperties e_prop, XMLMessageListener listener, JCSMPBasicSession.InternalBindProperties bindProps, FlowEventHandler flowEventHandler) throws JCSMPException
JCSMPExceptionpublic FlowHandleImpl createReliableFlow(Topic topic, XMLMessageListener listener, ConsumerNotificationDispatcherFactory dispatcherFactory) throws JCSMPException
JCSMPExceptionpublic void closeReliableFlow(FlowHandleImpl fh) throws JCSMPException
JCSMPExceptionpublic XMLMessageConsumer createXMLMessageConsumer(XMLMessageListener listener, JCSMPReconnectEventHandler reconnHandler, boolean bindDefaultQueue) throws JCSMPException
JCSMPExceptionpublic void unbindFlowHandle(FlowHandleImpl fh, boolean linger, TcpChannel.WriteBlockPolicy wpol) throws JCSMPException
JCSMPExceptionpublic void unsubscribeDTE(String dteName) throws JCSMPException
JCSMPExceptionpublic void handleAssuredFlowChangeUpdateMessage(WireMessage wmsg)
public void generateFlowEvent(FlowHandleImpl fh, boolean flowActive, String reason)
public void generateFlowEvent(FlowHandleImpl fh, FlowEventArgs event)
public void handleAssuredCtrlMessage(WireMessage wmsg)
public void handlePubMessage(JCSMPXMLMessage msg)
public void notifyActiveFlows(JCSMPException e)
public void buildDispatchChannelLists(List<FlowTask> waitingFlowList, List<FlowHandleImpl> activeFlowList)
public void dispatchChannelException(JCSMPException e, List<FlowTask> waitingFlowList, List<FlowHandleImpl> activeFlowList)
public void removeWaitingTask(FlowTask f)
public void notifyTcpClientClosed(boolean isReconn)
public void notifyVridChange()
public void notifyPostReconnect(JCSMPException e, HostInfo hostSpec) throws JCSMPException
JCSMPExceptionpublic void resubmitTask(FlowTask t, boolean allowOnStateSub, TcpChannel.WriteBlockPolicy wpolicy, boolean isReactorResend)
public void close()
public JCSMPProperties getSessionProperties()
public String getLogFlowInfoString()
public void handleControllerException(JCSMPException e)
Copyright 2004-2019 Solace Corporation. All rights reserved.