public class JChannelFactory extends Object implements ChannelFactory, org.jgroups.conf.ProtocolStackConfigurator
| Constructor and Description |
|---|
JChannelFactory(ProtocolStackConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.jgroups.Channel |
createChannel(String id)
Creates a JGroups channel
|
List<org.jgroups.conf.ProtocolConfiguration> |
getProtocolStack() |
ProtocolStackConfiguration |
getProtocolStackConfiguration()
Returns the protocol stack configuration of this channel factory.
|
String |
getProtocolStackString() |
boolean |
isUnknownForkResponse(ByteBuffer buffer)
Determines whether or not the specified message response indicates the fork stack or fork channel
required to handle a request does not exist on the recipient node.
|
public JChannelFactory(ProtocolStackConfiguration configuration)
public ProtocolStackConfiguration getProtocolStackConfiguration()
ChannelFactorypublic org.jgroups.Channel createChannel(String id) throws Exception
ChannelFactorycreateChannel in interface ChannelFactoryid - the unique identifier of this channelException - if there was a failure setting up the protocol stackpublic boolean isUnknownForkResponse(ByteBuffer buffer)
ChannelFactorybuffer - a message responsepublic String getProtocolStackString()
getProtocolStackString in interface org.jgroups.conf.ProtocolStackConfiguratorProtocolStackConfigurator.getProtocolStackString()public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
getProtocolStack in interface org.jgroups.conf.ProtocolStackConfiguratorProtocolStackConfigurator.getProtocolStack()Copyright © 2023 JBoss by Red Hat. All rights reserved.