|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Model
The model's interface
Method Summary | |
---|---|
void |
connect(java.lang.String ip,
int pc,
int pd)
Connects to the remote camera. |
void |
controller(Controller cntr)
Sets the controller for the model. |
void |
disconnect()
Disconnects from the server. |
Method Detail |
---|
void connect(java.lang.String ip, int pc, int pd) throws java.net.UnknownHostException, java.io.IOException
ip
- The remote camera's ip.pc
- The remote camera's control port.pd
- The local data port.
java.io.IOException
- Error with the communications.
java.net.UnknownHostException
- Remote server not found.void disconnect() throws java.io.IOException
java.io.IOException
- Error disconnecting.void controller(Controller cntr)
cntr
- The controller.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |