The argument map associates argument name strings to instances of {@link Connector.Argument}. The default argument map for a connector can be obtained through {@link Connector#defaultArguments}. Argument map values can be changed, but map entries should not be added or deleted.
This method does not return a {@link VirtualMachine}, and, normally, returns before any target VM initiates a connection. The connected target is obtained through {@link #accept} (using the same argument map as is passed to thismethod).
If arguments
contains addressing information. and only one conection will be accepted, the {@link #accept accept} methodcan be called immediately without calling this method.
@return the address at which the connector is listeningfor a connection.
@throws java.io.IOException when unable to start listening.Specific exceptions are dependent on the Connector implementation in use.
@throws IllegalConnectorArgumentsException when one of theconnector arguments is invalid.
accept()
being invoked.
@throws IOException if opening the server side socket fails
|
|
|
|