mirrormap.commands
Interface ICommand

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCommand, AddCommand, PeerConnectedCommand, PeerDisconnectedCommand, RegisterCommand, RemoveCommand, UnregisterCommand, UpdateCommand

public interface ICommand
extends Serializable

Represents an command to perform on a MirrorMap

Author:
Ramon Servadei

Method Summary
 void execute()
          Execute the command
 byte[] getBytes()
          Get the serialised byte[] of this
 String getMirrorMapName()
          The MirrorMap the command is for
 

Method Detail

getMirrorMapName

String getMirrorMapName()
The MirrorMap the command is for

Returns:
the name of the MirrorMap the command is targetted at

execute

void execute()
Execute the command


getBytes

byte[] getBytes()
Get the serialised byte[] of this

Returns:
the serialised byte[] of this


Copyright © 2010. All Rights Reserved.