< prev index next >
src/jdk.jdi/share/classes/com/sun/jdi/connect/spi/TransportService.java
Print this page
rev 17275 : 8181417: Code cleanups in com.sun.jdi
@@ -24,10 +24,11 @@
*/
package com.sun.jdi.connect.spi;
import java.io.IOException;
+
import com.sun.jdi.connect.TransportTimeoutException;
/**
* A transport service for connections between a debugger and
* a target VM.
@@ -74,11 +75,10 @@
* method is used to accept a connection initiated by a
* target VM.
*
* @since 1.5
*/
-
public abstract class TransportService {
/**
* Returns a name to identify the transport service.
*
@@ -106,11 +106,10 @@
* @return {@code true} if, and only if, this transport
* service supports multiple connections.
*/
public abstract boolean supportsMultipleConnections();
-
/**
* Tell whether or not this transport service supports a timeout
* when attaching to a target VM.
*
* @return {@code true} if, and only if, this transport
@@ -142,11 +141,10 @@
*
* @see #attach(String,long,long)
* @see #accept(TransportService.ListenKey,long,long)
*/
public abstract boolean supportsHandshakeTimeout();
-
}
/**
* Returns the capabilities of the transport service.
*
@@ -371,7 +369,6 @@
*
* @see TransportService.Capabilities#supportsAcceptTimeout()
*/
public abstract Connection accept(ListenKey listenKey, long acceptTimeout,
long handshakeTimeout) throws IOException;
-
}
< prev index next >