|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
Interface for controlling the Memory Leak Server remotely.
Field Summary | |
---|---|
static java.lang.Class<?>[] |
CONSTRUCTOR_SIGNATURE
All implementing classes should have a constructor with this signature. |
Method Summary | |
---|---|
int |
getMLSPort()
Check if the server is started, will return 0 if not started, otherwise returns the port it is listening to |
void |
printAvailableProtocolVersions()
For debugging, print all available protocol versions to stdout. |
void |
shutDownMLS()
Shutdown the memleak server. |
int |
startMLS()
Start the memory leak server on the default port. |
int |
startMLS(int port)
Start the memory leak server. |
Field Detail |
---|
static final java.lang.Class<?>[] CONSTRUCTOR_SIGNATURE
MyController(String hostName, int port, String userName, String password)
Method Detail |
---|
int startMLS() throws MemLeakControllerException
MemLeakControllerException
int startMLS(int port) throws MemLeakControllerException
port
- - the port the server should listen to, or 0 to let the OS
choose
MemLeakControllerException
void shutDownMLS() throws MemLeakControllerException
MemLeakControllerException
int getMLSPort() throws MemLeakControllerException
MemLeakControllerException
void printAvailableProtocolVersions() throws MemLeakControllerException
MemLeakControllerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |