/*
 * 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.net.*;

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

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