de.beamertool.admin.remotecontrol
Class RemoteControlConnection

java.lang.Object
  extended by de.beamertool.admin.remotecontrol.RemoteControlConnection

public class RemoteControlConnection
extends Object

Author:
ocm-zeeman

Nested Class Summary
static interface RemoteControlConnection.ConnectionStatusListener
           
 
Constructor Summary
RemoteControlConnection()
           
 
Method Summary
 void addConnectionStatusListener(RemoteControlConnection.ConnectionStatusListener l)
           
 void addUnapprovedMessageListener(UnapprovedMessageListener l)
           
 void approvedMessage(InboundMessage m)
           
 void clearChat()
           
 void connect(String host, int port)
           
 void connect(String host, String port)
           
 void disconnect()
           
 boolean isConnected()
           
 int[] refreshDirs()
           
 void say(String sayText)
           
 BufferedImage screenshot()
           
 void startCountdown(long countdown)
           
 void startCountdown(String 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

RemoteControlConnection

public RemoteControlConnection()
Method Detail

addConnectionStatusListener

public void addConnectionStatusListener(RemoteControlConnection.ConnectionStatusListener l)

addUnapprovedMessageListener

public void addUnapprovedMessageListener(UnapprovedMessageListener l)

approvedMessage

public void approvedMessage(InboundMessage m)
                     throws RemoteException
Throws:
RemoteException

clearChat

public void clearChat()
               throws RemoteException
Throws:
RemoteException

connect

public void connect(String host,
                    int port)
             throws RemoteException
Throws:
RemoteException

connect

public void connect(String host,
                    String port)
             throws RemoteException
Throws:
RemoteException

disconnect

public void disconnect()

isConnected

public boolean isConnected()

refreshDirs

public int[] refreshDirs()
                  throws RemoteException
Throws:
RemoteException

say

public void say(String sayText)
         throws RemoteException
Throws:
RemoteException

screenshot

public BufferedImage screenshot()
                         throws RemoteException
Throws:
RemoteException

startCountdown

public void startCountdown(long countdown)
                    throws RemoteException
Throws:
RemoteException

startCountdown

public void startCountdown(String countdown)
                    throws RemoteException
Throws:
RemoteException

startCry

public void startCry(String cryText)
              throws RemoteException
Throws:
RemoteException

stopCountdown

public void stopCountdown()
                   throws RemoteException
Throws:
RemoteException

stopCry

public void stopCry()
             throws RemoteException
Throws:
RemoteException