edu.sdsc.inca.agent.commands
Class Register

java.lang.Object
  extended by edu.sdsc.inca.protocol.MessageHandler
      extended by edu.sdsc.inca.agent.commands.Register

public class Register
extends edu.sdsc.inca.protocol.MessageHandler

Handles the REGISTER command. This command is sent by a remote reporter manager to indicate that it's ready to accept commands from the agent. This task thread will persist and keep the socket open to the reporter manager. See the ReporterManagerController's register function for more information.

Author:
Shava Smallen <ssmallen@sdsc.edu>

Field Summary
 
Fields inherited from class edu.sdsc.inca.protocol.MessageHandler
logger
 
Constructor Summary
Register()
           
 
Method Summary
 void execute(edu.sdsc.inca.protocol.ProtocolReader reader, edu.sdsc.inca.protocol.ProtocolWriter writer)
           
 
Methods inherited from class edu.sdsc.inca.protocol.MessageHandler
errorReply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Register

public Register()
Method Detail

execute

public void execute(edu.sdsc.inca.protocol.ProtocolReader reader,
                    edu.sdsc.inca.protocol.ProtocolWriter writer)
             throws edu.sdsc.inca.protocol.ProtocolException
Specified by:
execute in class edu.sdsc.inca.protocol.MessageHandler
Throws:
edu.sdsc.inca.protocol.ProtocolException