org.jboss.messaging.core.impl.postoffice
Class GroupMember

java.lang.Object
  extended by 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)
           
 
Method Summary
 Address getAsyncAddress()
           
 long getCastTimeout()
           
 View getCurrentView()
           
 boolean getState()
           
 Address getSyncAddress()
           
 void multicastControl(org.jboss.messaging.core.impl.postoffice.ClusterRequest request, boolean sync)
           
 void multicastData(org.jboss.messaging.core.impl.postoffice.ClusterRequest request)
           
 void start()
           
 void stop()
           
 void unicastControl(org.jboss.messaging.core.impl.postoffice.ClusterRequest request, Address address, boolean sync)
           
 void unicastData(org.jboss.messaging.core.impl.postoffice.ClusterRequest request, Address address)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

getSyncAddress

public Address getSyncAddress()

getAsyncAddress

public Address getAsyncAddress()

getCastTimeout

public long getCastTimeout()

getCurrentView

public 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,
                           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,
                        Address address)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getState

public boolean getState()
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.