public class ChannelOpStrategyClient extends ChannelOpStrategy
| Constructor and Description |
|---|
ChannelOpStrategyClient(TcpClientChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSendMsgHeader(JCSMPXMLMessage message,
Destination destination,
long msgId_64bit,
long flowId,
long publisherId,
boolean newMsg)
Populate an outgoing message's SMF header object.
|
static void |
buildSMFTrMsgHeader(JCSMPXMLMessage message,
Destination dest,
long msgId_64bit,
long flowId,
long publisherId,
boolean newMsg) |
void |
checkSendDestination(Destination destination) |
void |
establishP2pSub() |
List<HostInfo> |
getModeAwareHostList()
Gets the hostlist to use for connection / reconnection attempts.
|
void |
performOpen(boolean isReconn)
Perform single open procedure.
|
void |
updateClientDescription(String clientDesc) |
void |
updateClientName(String uniqueName,
String defaultName) |
isUserCloseable, populateChannelRefspublic ChannelOpStrategyClient(TcpClientChannel channel)
public void performOpen(boolean isReconn)
throws JCSMPException
ChannelOpStrategyperformOpen in class ChannelOpStrategyJCSMPExceptionpublic void establishP2pSub()
throws JCSMPException
establishP2pSub in class ChannelOpStrategyJCSMPExceptionpublic void updateClientDescription(String clientDesc) throws JCSMPException
updateClientDescription in class ChannelOpStrategyJCSMPExceptionpublic void updateClientName(String uniqueName, String defaultName) throws JCSMPException
updateClientName in class ChannelOpStrategyJCSMPExceptionpublic void buildSendMsgHeader(JCSMPXMLMessage message, Destination destination, long msgId_64bit, long flowId, long publisherId, boolean newMsg) throws InvalidOperationException
ChannelOpStrategybuildSendMsgHeader in class ChannelOpStrategymessage - parameterdestination - parametermsgId_64bit - parameterInvalidOperationException - on errorpublic static void buildSMFTrMsgHeader(JCSMPXMLMessage message, Destination dest, long msgId_64bit, long flowId, long publisherId, boolean newMsg) throws InvalidOperationException
InvalidOperationExceptionpublic void checkSendDestination(Destination destination)
checkSendDestination in class ChannelOpStrategypublic List<HostInfo> getModeAwareHostList()
ChannelOpStrategygetModeAwareHostList in class ChannelOpStrategyCopyright 2004-2021 Solace Corporation. All rights reserved.