package anastore.net;

import java.io.Serializable;

/**
 * Message sent over the wire by the channel protocol. This wraps a
 * Message from the user of the channel with the destination and reply
 * channel IDs. 
 */
class ChannelProtocolMessage implements Serializable {
    public int destChannelId, replyChannelId;
    public Message msg;

    public ChannelProtocolMessage(int destChannelId,
                                  int replyChannelId,
                                  Message msg) {
        this.destChannelId = destChannelId;
        this.replyChannelId = replyChannelId;
        this.msg = msg;
    }
}
