APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.jdi

public Class SocketAttachingConnector

extends GenericAttachingConnector
Class Inheritance
Imports
java.io.IOException, java.util.Map, com.sun.jdi.VirtualMachine, com.sun.jdi.connect.Connector, .IllegalConnectorArgumentsException, .Transport

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv static final String
Inherited from com.sun.tools.jdi.GenericAttachingConnector:
ARG_ADDRESSARG_TIMEOUTtransporttransportService

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public VirtualMachine
attach(Map<String, ? extends Connector.Argument> arguments)

Overrides com.sun.tools.jdi.GenericAttachingConnector.attach.

Implements com.sun.jdi.connect.AttachingConnector.attach.

Attach to a target VM using the specified arguments - the address of the target VM is specified by the address connector argument.

public String
description()

Overrides com.sun.tools.jdi.GenericAttachingConnector.description.

Implements com.sun.jdi.connect.Connector.description.

Returns a human-readable description of this connector and its purpose.

public String
name()

Overrides com.sun.tools.jdi.GenericAttachingConnector.name.

Implements com.sun.jdi.connect.Connector.name.

Returns a short identifier for the connector.

Inherited from com.sun.tools.jdi.GenericAttachingConnector:
attachcreatetransport

Field Detail

ARG_HOSTback to summary
pack-priv static final String ARG_HOST
ARG_PORTback to summary
pack-priv static final String ARG_PORT

Constructor Detail

SocketAttachingConnectorback to summary
public SocketAttachingConnector()

Method Detail

attachback to summary
public VirtualMachine attach(Map<String, ? extends Connector.Argument> arguments) throws IOException, IllegalConnectorArgumentsException

Overrides com.sun.tools.jdi.GenericAttachingConnector.attach.

Implements com.sun.jdi.connect.AttachingConnector.attach.

Doc from com.sun.tools.jdi.GenericAttachingConnector.attach.

Attach to a target VM using the specified arguments - the address of the target VM is specified by the address connector argument.

Exceptions
IOException:

Doc from com.sun.jdi.connect.AttachingConnector.attach.

when unable to attach. Specific exceptions are dependent on the Connector implementation in use.

IllegalConnectorArgumentsException:

Doc from com.sun.jdi.connect.AttachingConnector.attach.

when one of the connector arguments is invalid.

descriptionback to summary
public String description()

Overrides com.sun.tools.jdi.GenericAttachingConnector.description.

Implements com.sun.jdi.connect.Connector.description.

Doc from com.sun.jdi.connect.Connector.description.

Returns a human-readable description of this connector and its purpose.

nameback to summary
public String name()

Overrides com.sun.tools.jdi.GenericAttachingConnector.name.

Implements com.sun.jdi.connect.Connector.name.

Doc from com.sun.jdi.connect.Connector.name.

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.