blob: b0e24d743fb46d1ec4293e0213b1114aafc5a47d [file] [log] [blame]
package org.eclipse.wst.jsdt.debug.transport;
import java.net.Socket;
import org.eclipse.wst.jsdt.debug.transport.socket.SocketListenerKey;
/**
* Describes a key for a {@link TransportService} that uniquely identifies an address to communicate with.
* <br><br>
* This interface is intended to be implemented by clients. A default
* implementation for {@link Socket} communication is provided in the class
* {@link SocketListenerKey}.
*
* @since 1.0
*/
public interface ListenerKey {
/**
* Returns the address string for the listener.
* <br><br>
* This method cannot return <code>null</code>
*
* @return the address to try and communicate with, never <code>null</code>
*/
public String address();
}