package nmc.common;

import java.io.DataOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;

public class AliveReply extends Reply {

    public AliveReply() {
    	this.len = 0;
    }
    
    public AliveReply(DataInputStream dis) throws IOException {
    	this.decerealize(dis);
    }
    
    public int getMessageType(){
	return ALIVE_REPLY;
    }
    
    public void cerealize(DataOutputStream s) throws IOException {
    	super.cerealize(s);
    }


    public String toString(){
	return "%<%msgType=AliveReply%seqNo="
	       + this.seqNo
	       + "%len="
	       + this.len
	       + "%>%";
    }


}
