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()
ChannelFactory
public org.jgroups.Channel createChannel(String id) throws Exception
ChannelFactory
createChannel
in interface ChannelFactory
id
- the unique identifier of this channelException
- if there was a failure setting up the protocol stackpublic boolean isUnknownForkResponse(ByteBuffer buffer)
ChannelFactory
buffer
- a message responsepublic String getProtocolStackString()
getProtocolStackString
in interface org.jgroups.conf.ProtocolStackConfigurator
ProtocolStackConfigurator.getProtocolStackString()
public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
getProtocolStack
in interface org.jgroups.conf.ProtocolStackConfigurator
ProtocolStackConfigurator.getProtocolStack()
Copyright © 2016 JBoss by Red Hat. All rights reserved.