|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface Ports
Management interfaces for all embedded ports
| Method Summary | |
|---|---|
Port |
createPort(int number)
Creates a port, binds it to a port number and returns it |
Collection<Port> |
getPorts()
Returns the list of allocated ports |
| Method Detail |
|---|
Port createPort(int number)
throws IOException
number - the port number
IOException - if the port is already taken or another network exception occursCollection<Port> getPorts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||