| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv Map | |
| pack-priv Transport | |
| pack-priv TransportService |
| Access | Constructor and Description |
|---|---|
| private | GenericListeningConnector(TransportService ts, boolean addAddressArgument)
Initialize a new instance of this connector. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public VirtualMachine | |
| public static GenericListeningConnector | |
| public String | description()
Implements com. Returns a human-readable description of this connector and its purpose. |
| public String | |
| public String | |
| public String | startListening(Map<String, ? extends Connector.
Implements com. Listens for one or more connections initiated by target VMs. |
| public void | stopListening(Map<String, ? extends Connector.
Implements com. Cancels listening for connections. |
| public boolean | supportsMultipleConnections()
Implements com. Indicates whether this listening connector supports multiple connections for a single argument map. |
| public Transport | transport()
Implements com. Returns the transport mechanism used by this connector to establish connections with a target VM. |
| protected void | updateArgumentMapIfRequired(Map<String, ? extends Connector.
|
| ARG_ADDRESS | back to summary |
|---|---|
| pack-priv static final String ARG_ADDRESS | |
| ARG_TIMEOUT | back to summary |
|---|---|
| pack-priv static final String ARG_TIMEOUT | |
| listenMap | back to summary |
|---|---|
| pack-priv Map<Map<String, ? extends Connector. | |
| transport | back to summary |
|---|---|
| pack-priv Transport transport | |
| transportService | back to summary |
|---|---|
| pack-priv TransportService transportService | |
| GenericListeningConnector | back to summary |
|---|---|
| private GenericListeningConnector(TransportService ts, boolean addAddressArgument) Initialize a new instance of this connector. The connector encapsulates a transport service, has a "timeout" connector argument, and optionally an "address" connector argument. | |
| GenericListeningConnector | back to summary |
|---|---|
| protected GenericListeningConnector(TransportService ts) Initialize a new instance of this connector. This constructor is used when sub-classing - the resulting connector will a "timeout" connector argument. | |
| accept | back to summary |
|---|---|
| public VirtualMachine accept(Map<String, ? extends Connector. Implements com. Doc from com. Waits for a target VM to attach to this connector.
| |
| create | back to summary |
|---|---|
| public static GenericListeningConnector create(TransportService ts) Create an instance of this Connector. The resulting ListeningConnector will have "address" and "timeout" connector arguments. | |
| description | back to summary |
|---|---|
| public String description() Implements com. Doc from com. Returns a human-readable description of this connector and its purpose. | |
| name | back to summary |
|---|---|
| public String name() Implements com. Doc from com. Returns a short identifier for the connector. Connector implementors should follow similar naming conventions as are used with packages to avoid name collisions. For example, the Sun connector implementations have names prefixed with "com.sun.jdi.". Not intended for exposure to end-user. | |
| startListening | back to summary |
|---|---|
| public String startListening(String address, Map<String, ? extends Connector. | |
| startListening | back to summary |
|---|---|
| public String startListening(Map<String, ? extends Connector. Implements com. Doc from com. Listens for one or more connections initiated by target VMs. The connector uses the given argument map in determining the address at which to listen or else it generates an appropriate listen address. In either case, an address string is returned from this method which can be used in starting target VMs to identify this connector. The format of the address string is connector, transport, and, possibly, platform dependent.
The argument map associates argument name strings to instances
of
This method does not return a
If
| |
| stopListening | back to summary |
|---|---|
| public void stopListening(Map<String, ? extends Connector. Implements com. Doc from com. Cancels listening for connections. The given argument map should match
the argument map given for a previous
| |
| supportsMultipleConnections | back to summary |
|---|---|
| public boolean supportsMultipleConnections() Implements com. Doc from com. Indicates whether this listening connector supports multiple
connections for a single argument map. If so, a call to
| |
| transport | back to summary |
|---|---|
| public Transport transport() Implements com. Doc from com. Returns the transport mechanism used by this connector to establish connections with a target VM. | |
| updateArgumentMapIfRequired | back to summary |
|---|---|
| protected void updateArgumentMapIfRequired(Map<String, ? extends Connector. | |