public abstract static class TransportService.Capabilities extends Object
Constructor | Description |
---|---|
Capabilities() |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
supportsAcceptTimeout() |
Tell whether or not this transport service supports a
timeout while waiting for a target VM to connect.
|
abstract boolean |
supportsAttachTimeout() |
Tell whether or not this transport service supports a timeout
when attaching to a target VM.
|
abstract boolean |
supportsHandshakeTimeout() |
Tells whether or not this transport service supports a
timeout when handshaking with the target VM.
|
abstract boolean |
supportsMultipleConnections() |
Tells whether or not this transport service can support
multiple concurrent connections to a single address that
it is listening on.
|
public abstract boolean supportsMultipleConnections()
true
if, and only if, this transport
service supports multiple connections.public abstract boolean supportsAttachTimeout()
true
if, and only if, this transport
service supports attaching with a timeout.TransportService.attach(String,long,long)
public abstract boolean supportsAcceptTimeout()
true
if, and only if, this transport
service supports timeout while waiting for
a target VM to connect.TransportService.accept(TransportService.ListenKey,long,long)
public abstract boolean supportsHandshakeTimeout()
true
if, and only if, this transport
service supports a timeout while handshaking
with the target VM.TransportService.attach(String,long,long)
,
TransportService.accept(TransportService.ListenKey,long,long)
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b161-1