< prev index next >
src/jdk.jdi/share/classes/com/sun/jdi/connect/ListeningConnector.java
Print this page
rev 17275 : 8181417: Code cleanups in com.sun.jdi
*** 1,7 ****
/*
! * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 23,43 ****
* questions.
*/
package com.sun.jdi.connect;
- import java.util.Map;
import java.io.IOException;
import com.sun.jdi.VirtualMachine;
/**
* A connector which listens for a connection initiated by a target VM.
*
* @author Gordon Hirsch
* @since 1.3
*/
public interface ListeningConnector extends Connector {
/**
* Indicates whether this listening connector supports multiple
* connections for a single argument map. If so, a call to
* {@link #startListening} may allow
* multiple target VM to become connected.
--- 23,45 ----
* questions.
*/
package com.sun.jdi.connect;
import java.io.IOException;
+ import java.util.Map;
+
import com.sun.jdi.VirtualMachine;
/**
* A connector which listens for a connection initiated by a target VM.
*
* @author Gordon Hirsch
* @since 1.3
*/
public interface ListeningConnector extends Connector {
+
/**
* Indicates whether this listening connector supports multiple
* connections for a single argument map. If so, a call to
* {@link #startListening} may allow
* multiple target VM to become connected.
*** 94,104 ****
* connector arguments is invalid.
*/
void stopListening(Map<String,? extends Connector.Argument> arguments)
throws IOException, IllegalConnectorArgumentsException;
-
/**
* Waits for a target VM to attach to this connector.
*
* @throws TransportTimeoutException when the Connector encapsulates
* a transport that supports a timeout when accepting, a
--- 96,105 ----
*** 111,117 ****
* @throws IllegalConnectorArgumentsException when one of the
* connector arguments is invalid.
*/
VirtualMachine accept(Map<String,? extends Connector.Argument> arguments)
throws IOException, IllegalConnectorArgumentsException;
-
}
--- 112,117 ----
< prev index next >