package com.jscape.inet.proxy.socks.protocol.v5.messages;

import java.net.InetAddress;

import static com.jscape.util.Parameters.assertNotNull;

/**
 * @author Alex Usun
 */
public abstract class CommandRequest
        extends Message {

    public final InetAddress destinationAddress;
    public final int port;

    protected CommandRequest(InetAddress destinationAddress, int port) {
        assertNotNull(destinationAddress);
        this.destinationAddress = destinationAddress;
        this.port = port;
    }

}
