de.scheisseichfindemalkeinen.transmitter
Class Transmitter

java.lang.Object
  extended by de.scheisseichfindemalkeinen.transmitter.Transmitter
All Implemented Interfaces:
java.lang.Runnable

public class Transmitter
extends java.lang.Object
implements java.lang.Runnable

This class is a server socket, which accepts connections from browsers


Constructor Summary
Transmitter()
          Constructor
 
Method Summary
 boolean isAcceptConnections()
          Returns the acceptConnections
 void run()
           
 void setAcceptConnections(boolean acceptConnections)
          Sets the acceptConnections
 void stop()
          Stops the Transmitter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transmitter

public Transmitter()
Constructor

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

stop

public void stop()
Stops the Transmitter


isAcceptConnections

public boolean isAcceptConnections()
Returns the acceptConnections

Returns:
acceptConnections

setAcceptConnections

public void setAcceptConnections(boolean acceptConnections)
Sets the acceptConnections

Parameters:
acceptConnections - acceptConnections