Package org.jboss.as.clustering.jgroups
Class ForkChannelFactory
- java.lang.Object
-
- org.jboss.as.clustering.jgroups.ForkChannelFactory
-
- All Implemented Interfaces:
ChannelFactory,ChannelFactory
public class ForkChannelFactory extends Object implements ChannelFactory
Factory for creating forked channels.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ForkChannelFactory(org.jgroups.JChannel channel, ChannelFactory parentFactory, List<ProtocolConfiguration<? extends org.jgroups.stack.Protocol>> protocols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jgroups.JChannelcreateChannel(String id)ProtocolStackConfigurationgetProtocolStackConfiguration()booleanisUnknownForkResponse(org.jgroups.Message response)
-
-
-
Constructor Detail
-
ForkChannelFactory
public ForkChannelFactory(org.jgroups.JChannel channel, ChannelFactory parentFactory, List<ProtocolConfiguration<? extends org.jgroups.stack.Protocol>> protocols)
-
-
Method Detail
-
createChannel
public org.jgroups.JChannel createChannel(String id) throws Exception
- Specified by:
createChannelin interfaceChannelFactory- Throws:
Exception
-
getProtocolStackConfiguration
public ProtocolStackConfiguration getProtocolStackConfiguration()
- Specified by:
getProtocolStackConfigurationin interfaceChannelFactory
-
isUnknownForkResponse
public boolean isUnknownForkResponse(org.jgroups.Message response)
- Specified by:
isUnknownForkResponsein interfaceChannelFactory
-
-