|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Communicator
The common interface for all the server communication implementations.
Method Summary | |
---|---|
void |
addCommandListener(CommandListener controlListener)
Adds a listener to obtain control messages from the remote camera. |
void |
sendFrame(java.awt.image.BufferedImage image)
Sends a frame to the client. |
void |
sendLog(ELog error,
java.lang.String description)
Sends an error to the client. |
Method Detail |
---|
void addCommandListener(CommandListener controlListener)
controlListener
- an implementation of the control listener.void sendLog(ELog error, java.lang.String description) throws NotConnectedException, java.io.IOException
error
- the kind of error.description
- an error's description.
java.io.IOException
- Error sending the message.
NotConnectedException
- There isn't any client connected.void sendFrame(java.awt.image.BufferedImage image) throws java.io.IOException
image
- the frame.
java.io.IOException
- Error sending the frame.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |