|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ants.core.Thing | +--ants.move.core.models.videoStream.VideoStreamModel
Implementation of Video Stream Model.
Constructor Summary | |
VideoStreamModel()
Sole & void constructor. |
Method Summary | |
void |
addVideoStreamListener(VideoStreamListener sList)
Add VideoStream listener |
void |
destroy()
Destroy model |
java.lang.String |
getType()
Tool type |
java.lang.String |
getVideoStreamURL()
get VideoStream URL |
void |
init()
Initialize Model |
void |
removeVideoStreamListener(VideoStreamListener sList)
Removes VideoStream listener |
void |
setVideoStream(java.lang.String thingKey)
Set a new VideoStream thing in tool |
Methods inherited from class ants.core.Thing |
addPropertyChangeListener, addTokenToProperty, eventArrived, getContext, getDescription, getIndexedProperty, getIndexedProperty, getIndexedPropertyNames, getIndexedPropertySize, getName, getPlace, getProperty, getPropertyNames, getThingGateway, getThingId, incrementProperty, init, removePropertyChangeListener, setProperty, triggerEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VideoStreamModel()
Method Detail |
public void init()
init
in class ants.core.Thing
public void addVideoStreamListener(VideoStreamListener sList)
sList
- Class that implements VideoStream2Listener interfacepublic void removeVideoStreamListener(VideoStreamListener sList)
sList
- Class that implements VideoStreamListener interfacepublic void setVideoStream(java.lang.String thingKey)
thingKey
- Key of a new videoStream thingpublic java.lang.String getVideoStreamURL()
public java.lang.String getType()
getType
in class ants.core.Thing
public void destroy()
destroy
in class ants.core.Thing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |