massim.framework.connection
Class AbstractSocketListener

java.lang.Object
  extended by massim.framework.connection.AbstractSocketListener
All Implemented Interfaces:
Component
Direct Known Subclasses:
InetSocketListener

public abstract class AbstractSocketListener
extends java.lang.Object
implements Component


Nested Class Summary
protected static class AbstractSocketListener.StopListeningException
           
 
Constructor Summary
AbstractSocketListener()
           
 
Method Summary
 SocketHandler getSocketHandler()
           
 void setSocketHandler(SocketHandler socketHandler)
           
 void start()
          Tell the component to start activity.
 void stop()
          Tell the component to cease activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSocketListener

public AbstractSocketListener()
Method Detail

start

public void start()
Description copied from interface: Component
Tell the component to start activity.

Specified by:
start in interface Component

stop

public void stop()
Description copied from interface: Component
Tell the component to cease activity.

Specified by:
stop in interface Component

getSocketHandler

public SocketHandler getSocketHandler()

setSocketHandler

public void setSocketHandler(SocketHandler socketHandler)


Copyright © 2011. All Rights Reserved.