org.inria.myriads.snoozeclient.util
Class BootstrapUtilis

java.lang.Object
  extended by org.inria.myriads.snoozeclient.util.BootstrapUtilis

public final class BootstrapUtilis
extends Object

Bootstrap utility.

Author:
Eugen Feller

Method Summary
static org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription getGroupLeaderDescription(List<org.inria.myriads.snoozecommon.communication.NetworkAddress> bootstrapAddresse)
          Returns current group leader description.
static boolean isHostActive(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress)
          Checks if the remote host is active.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isHostActive

public static boolean isHostActive(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress)
Checks if the remote host is active.

Parameters:
networkAddress - The network address
Returns:
true if host active, false otherwise

getGroupLeaderDescription

public static org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription getGroupLeaderDescription(List<org.inria.myriads.snoozecommon.communication.NetworkAddress> bootstrapAddresse)
                                                                                                                   throws BootstrapUtilityException
Returns current group leader description.

Parameters:
bootstrapAddresse - The bootstrap addresses
Returns:
The current group leader description
Throws:
BootstrapUtilityException


Copyright © 2012. All Rights Reserved.