edu.sdsc.inca.protocol
Class VerifyProtocolVersion

java.lang.Object
  extended byedu.sdsc.inca.protocol.MessageHandler
      extended byedu.sdsc.inca.protocol.VerifyProtocolVersion

public class VerifyProtocolVersion
extends MessageHandler

Author:
Cathie Olschanowsky, Jim Hayes Does a comparison of the Inca Protocol Versions being used. If they are not an exact match - throws an exception.

Constructor Summary
VerifyProtocolVersion()
           
 
Method Summary
 void execute(ProtocolReader reader, ProtocolWriter writer)
          Execute should run the task using the reader and writer for in/output.
 
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

VerifyProtocolVersion

public VerifyProtocolVersion()
Method Detail

execute

public void execute(ProtocolReader reader,
                    ProtocolWriter writer)
             throws java.lang.Exception
Description copied from class: MessageHandler
Execute should run the task using the reader and writer for in/output. Close the reader and writer to indicate that the client connection should be closed.

Specified by:
execute in class MessageHandler
Throws:
java.lang.Exception