jgroup.test.multicast
Class MulticastTestServer

java.lang.Object
  extended by jgroup.test.multicast.MulticastTestServer
All Implemented Interfaces:
jgroup.core.multicast.MulticastListener

public class MulticastTestServer
extends java.lang.Object
implements jgroup.core.multicast.MulticastListener

Simple multicast/total order test server.

Since:
Jgroup 2.2
Author:
Hein Meling

Method Summary
 java.lang.Object deliverObject(java.lang.Object obj, jgroup.core.MemberId sender, int seqNo)
           
 java.lang.Object deliverStream(java.io.InputStream stream, jgroup.core.MemberId sender, int seqNo)
           
 java.lang.String getProtocolName()
          Returns a string naming the protocol implemented by this multicast listener.
 void hasLeft()
           
static void main(java.lang.String[] argv)
           
 void prepareChange()
           
 void viewChange(jgroup.core.View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception

viewChange

public void viewChange(jgroup.core.View view)

prepareChange

public void prepareChange()

hasLeft

public void hasLeft()

getProtocolName

public java.lang.String getProtocolName()
Returns a string naming the protocol implemented by this multicast listener.

Specified by:
getProtocolName in interface jgroup.core.multicast.MulticastListener

deliverStream

public java.lang.Object deliverStream(java.io.InputStream stream,
                                      jgroup.core.MemberId sender,
                                      int seqNo)
Specified by:
deliverStream in interface jgroup.core.multicast.MulticastListener

deliverObject

public java.lang.Object deliverObject(java.lang.Object obj,
                                      jgroup.core.MemberId sender,
                                      int seqNo)
Specified by:
deliverObject in interface jgroup.core.multicast.MulticastListener


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.