public interface ListeningConnector extends Connector
Connector
that waits and listens for a VirtualMachine
to connect to it.
Clients can implement or extend this interface.Argument
,
Connector
,
VirtualMachine
Connector.Argument, Connector.BooleanArgument, Connector.IntegerArgument, Connector.SelectedArgument, Connector.StringArgument
Modifier and Type | Method and Description |
---|---|
VirtualMachine |
accept(java.util.Map arguments)
Listens for a
VirtualMachine to connect to with the given map of arguments. |
defaultArguments, description, id, name
VirtualMachine accept(java.util.Map arguments) throws java.io.IOException
VirtualMachine
to connect to with the given map of arguments.null
. If the connector cannot accept the
connection from the VirtualMachine
an IOException
is thrown.arguments
- the map of connection arguments which cannot be null
VirtualMachine
that has been accepted never null
java.io.IOException
- if the Connector
failed to accept the connectionCopyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.