org.jboss.messaging.core.impl.postoffice
Class GroupMember
java.lang.Object
org.jboss.messaging.core.impl.postoffice.GroupMember
public class GroupMember
- extends java.lang.Object
This class handles the interface with JGroups
- Version:
- $Revision: $14 Jun 2007
$Id: $
- Author:
- Tim Fox
Constructor Summary |
GroupMember(java.lang.String groupName,
long stateTimeout,
long castTimeout,
ChannelFactory jChannelFactory,
org.jboss.messaging.core.impl.postoffice.RequestTarget requestTarget,
org.jboss.messaging.core.impl.postoffice.GroupListener groupListener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATA_SUFFIX
public static final java.lang.String DATA_SUFFIX
- See Also:
- Constant Field Values
CONTROL_SUFFIX
public static final java.lang.String CONTROL_SUFFIX
- See Also:
- Constant Field Values
GroupMember
public GroupMember(java.lang.String groupName,
long stateTimeout,
long castTimeout,
ChannelFactory jChannelFactory,
org.jboss.messaging.core.impl.postoffice.RequestTarget requestTarget,
org.jboss.messaging.core.impl.postoffice.GroupListener groupListener)
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
getControlChannelAddress
public org.jgroups.Address getControlChannelAddress()
getDataChannelAddress
public org.jgroups.Address getDataChannelAddress()
getCastTimeout
public long getCastTimeout()
getCurrentView
public org.jgroups.View getCurrentView()
multicastControl
public void multicastControl(org.jboss.messaging.core.impl.postoffice.ClusterRequest request,
boolean sync)
throws java.lang.Exception
- Throws:
java.lang.Exception
unicastControl
public void unicastControl(org.jboss.messaging.core.impl.postoffice.ClusterRequest request,
org.jgroups.Address address,
boolean sync)
throws java.lang.Exception
- Throws:
java.lang.Exception
multicastData
public void multicastData(org.jboss.messaging.core.impl.postoffice.ClusterRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
unicastData
public void unicastData(org.jboss.messaging.core.impl.postoffice.ClusterRequest request,
org.jgroups.Address address)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.