Error - p String packet S public Error packet=null public...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/** * @(#)Error.java * * */ //2 bytes 2 bytes string 1 byte //---------------------------------------- //ERROR | 05 | ErrorCode | ErrMsg | 0 | //---------------------------------------- / public class Error {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: p String packet; S public Error() { packet=null; } public byte form (int i, String message){ packet="050"+i+message+"0"; return packet.getBytes(); } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online