|
org.netbeans.api.debugger.jpda/2 2.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.debugger.jpda.AbstractDICookie
org.netbeans.api.debugger.jpda.ListeningDICookie
public final class ListeningDICookie
Listens on given port for some connection of remotely running JDK
and returns VirtualMachine for it.
How to use it:
DebuggerInfo di = DebuggerInfo.create ( "My First Listening Debugger Info", new Object [] { ListeningDICookie.create ( 1234 ) } ); DebuggerManager.getDebuggerManager ().startDebugging (di);
Field Summary | |
---|---|
static String |
ID
Public ID used for registration in Meta-inf/debugger. |
Method Summary | |
---|---|
static ListeningDICookie |
create(int portNumber)
Creates a new instance of ListeningDICookie for given parameters. |
static ListeningDICookie |
create(com.sun.jdi.connect.ListeningConnector listeningConnector,
Map args)
Creates a new instance of ListeningDICookie for given parameters. |
static ListeningDICookie |
create(String name)
Creates a new instance of ListeningDICookie for given parameters. |
Map |
getArgs()
Returns map of arguments to be used. |
com.sun.jdi.connect.ListeningConnector |
getListeningConnector()
Returns instance of ListeningConnector. |
int |
getPortNumber()
Returns port number. |
String |
getSharedMemoryName()
Returns shared memory block name. |
com.sun.jdi.VirtualMachine |
getVirtualMachine()
Creates a new instance of VirtualMachine for this DebuggerInfo Cookie. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ID
Method Detail |
---|
public static ListeningDICookie create(com.sun.jdi.connect.ListeningConnector listeningConnector, Map args)
listeningConnector
- a instance of ListeningConnectorargs
- arguments to be used
public static ListeningDICookie create(int portNumber)
portNumber
- a number of port to listen on
public static ListeningDICookie create(String name)
name
- a name of shared memory block to listen on
public com.sun.jdi.connect.ListeningConnector getListeningConnector()
public Map getArgs()
public int getPortNumber()
public String getSharedMemoryName()
public com.sun.jdi.VirtualMachine getVirtualMachine() throws IOException, com.sun.jdi.connect.IllegalConnectorArgumentsException
getVirtualMachine
in class AbstractDICookie
IOException
com.sun.jdi.connect.IllegalConnectorArgumentsException
|
org.netbeans.api.debugger.jpda/2 2.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |