|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListeningPort
Represents a listening port that forwards a connection via port forwarding.
Method Summary | |
---|---|
void |
close()
Shuts down the port forwarding by removing the server socket. |
int |
getPort()
TCP/IP port that is listening. |
Method Detail |
---|
int getPort()
void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |