 1Content-type: application/x-Unknown; charset=UTF8package nmc.common;

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

public class AckReply extends Reply {

    public AckReply(Command c) {
    	this.seqNo = c.seqNo;
    	this.len = 0;
    }
    
    public AckReply(DataInputStream dis) throws IOException {
    	this.decerealize(dis);
    }
    
    public int getMessageType(){
	return ACK_REPLY;
    }
    
    public void cerealize(DataOutputStream s) throws IOException {
    	super.cerealize(s);
    }


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


}
