|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.beamertool.viewer.remotecontrol.RemoteControlMethods
public class RemoteControlMethods
This class implements all nessassary methods for the remote control feature.
| Constructor Summary | |
|---|---|
RemoteControlMethods()
|
|
RemoteControlMethods(Collection<RemoteControlListener> listener,
Collection<ApprovedMsgListener> apMsgListener)
Initalize all fields |
|
| Method Summary | |
|---|---|
void |
clearChat()
|
SerBufferedImage |
getScreenshot()
|
List<InboundMessage> |
getUnapprovedMessages()
Get's all unapproved messages from beamer-tool for manual checking |
void |
newCommercial(String commercial)
This method is called by the datacontroller if new commercials are availible for gui presentation. |
void |
newSms(InboundMessage sms)
This method is called by the datacontroller if new messages are availible for gui presentation. |
void |
newSmsForApproval(InboundMessage newSms)
Adds a list of messages to the list of unapproved messages |
int[] |
refreshDirs()
|
void |
say(String sayText)
|
void |
startCountdown(long countdown)
|
void |
startCry(String cryText)
|
void |
stopCountdown()
|
void |
stopCry()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteControlMethods()
public RemoteControlMethods(Collection<RemoteControlListener> listener,
Collection<ApprovedMsgListener> apMsgListener)
listener - all listener which want to recieve admin events (say, cry and so on)apMsgListener - all listner which want to recieve approved messages| Method Detail |
|---|
public void clearChat()
clearChat in interface RemoteControlListenerpublic SerBufferedImage getScreenshot()
getScreenshot in interface RemoteControlListenerpublic List<InboundMessage> getUnapprovedMessages()
RemoteControlMethodsMBean
getUnapprovedMessages in interface RemoteControlMethodsMBeanpublic void newCommercial(String commercial)
DataListener
newCommercial in interface DataListenerpublic void newSms(InboundMessage sms)
DataListener
newSms in interface DataListenerpublic void newSmsForApproval(InboundMessage newSms)
newSms - - the new messages for approvalpublic int[] refreshDirs()
refreshDirs in interface RemoteControlListenerpublic void say(String sayText)
say in interface RemoteControlListenerpublic void startCountdown(long countdown)
startCountdown in interface RemoteControlListenerpublic void startCry(String cryText)
startCry in interface RemoteControlListenerpublic void stopCountdown()
stopCountdown in interface RemoteControlListenerpublic void stopCry()
stopCry in interface RemoteControlListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||