|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vigia.client.communications.CommunicationImpl
public class CommunicationImpl
An implementation of the Communication interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.vigia.client.communications.Communication |
---|
Communication.EError |
Constructor Summary | |
---|---|
CommunicationImpl()
|
Method Summary | |
---|---|
void |
addControlListener(ControlListener controlListner)
Adds a listener to obtain control messages from the remote camera. |
void |
addDataListener(DataListener dataListener)
Adds a listener to obtain the frames from the remote camera. |
void |
init(int pan,
int tilt,
int zoom)
Initializes the remote camera properly, moves it to the start position and starts the video transmission. |
void |
move(int pan,
int tilt,
int zoom)
Send to the remote camera a move command in a relative way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommunicationImpl()
Method Detail |
---|
public void addControlListener(ControlListener controlListner)
Communication
addControlListener
in interface Communication
controlListner
- an implementation of the control listener.Communication.addControlListener(org.vigia.client.communications.ControlListener)
public void addDataListener(DataListener dataListener)
Communication
addDataListener
in interface Communication
dataListener
- an implementation of the data listener.Communication.addDataListener(org.vigia.client.communications.DataListener)
public void init(int pan, int tilt, int zoom)
Communication
init
in interface Communication
pan
- initial pan position.tilt
- initial tilt position.zoom
- initial zoom position.Communication.init(int, int, int)
public void move(int pan, int tilt, int zoom)
Communication
move
in interface Communication
pan
- increment of pan.tilt
- increment of tilt.zoom
- increment of zoom.Communication.move(int, int, int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |