mirrormap.commands
Class PeerConnectedCommand

java.lang.Object
  extended by mirrormap.commands.AbstractCommand
      extended by mirrormap.commands.PeerConnectedCommand
All Implemented Interfaces:
Serializable, ICommand

public final class PeerConnectedCommand
extends AbstractCommand

Encapsulates the command to run when a peer mirror map is connected

Author:
Ramon Servadei
See Also:
Serialized Form

Field Summary
 
Fields inherited from class mirrormap.commands.AbstractCommand
key, mirrorMapName
 
Constructor Summary
PeerConnectedCommand(String mirrorMapName)
           
 
Method Summary
 void execute()
          Execute the command
 
Methods inherited from class mirrormap.commands.AbstractCommand
getBytes, getMirrorMapName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerConnectedCommand

public PeerConnectedCommand(String mirrorMapName)
Method Detail

execute

public void execute()
Description copied from interface: ICommand
Execute the command



Copyright © 2010. All Rights Reserved.