/*
 * Written by Dawid Kurzyniec and released to the public domain, as explained
 * at http://creativecommons.org/licenses/publicdomain
 */

package edu.emory.mathcs.util.net;

import java.io.*;
import java.net.*;
import java.nio.channels.*;

/**
 * Marker interface that indicates that a socket is a wrapper for another socket.
 *
 * @author Dawid Kurzyniec
 */
public interface DecoratingSocket {

    /**
     * Returns the base socket wrapped by this socket.
     * @return the base socket
     */
    Socket getBaseSocket();
}
