case MESSAGE_PING:  DataOutputStream out = conn.getDataOutputStream(); out.writeByte(MESSAGE_PING_ACK); out.flush(); break;
public static void dispatch(UnicastConnection conn) throws Exception {	switch (conn.getDataInputStream().readUnsignedByte()) {	case MESSAGE_CALL:		incomingMessageCall(conn);		break;	default:		throw new Exception("bad method type");	}}