jgroup.util
Class MsgFactory

java.lang.Object
  extended by jgroup.util.MsgFactory
All Implemented Interfaces:
MssConstants

public final class MsgFactory
extends java.lang.Object
implements MssConstants

The MsgFactory is used to create messages valid for the Jgroup Mss layer.

Since:
Jgroup 0.8
Author:
Alberto Montresor, Hein Meling

Field Summary
 
Fields inherited from interface jgroup.relacs.mss.MssConstants
ALL, EHANDLER_PRIORITY, HEADER_SIZE, MINIMUM_ALIVE_VALUE, MSS_HEADER_SIZE, MSSUSER_PRIORITY, NACKSUPPRESSION, NI_PRIORITY, OVERHEAD_SIZE, ROUTING_ENABLED, TRAILER_SIZE, UNDEF, UNREACHABLE
 
Method Summary
static OutMessage get()
           
static OutMessage get(int size)
           
static OutMessage get(int size, int nreceivers)
           
static void initMsgFactory(int payload, int numOfHosts, int numOfClusters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initMsgFactory

public static void initMsgFactory(int payload,
                                  int numOfHosts,
                                  int numOfClusters)
                           throws ConfigurationException
Throws:
ConfigurationException

get

public static OutMessage get()

get

public static OutMessage get(int size)

get

public static OutMessage get(int size,
                             int nreceivers)


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