org.xnap.plugin.opennap.net
Class OpenNapListener

java.lang.Object
  extended by org.xnap.plugin.opennap.net.OpenNapListener

public class OpenNapListener
extends java.lang.Object


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
OpenNapListener()
           
OpenNapListener(PortRange range)
           
 
Method Summary
 void addSocketListener(SocketListener s)
           
 void die()
           
 int getPort()
           
 void removeSocketListener(SocketListener s)
           
 void setPortRange(PortRange newValue)
          Sets a new port range and restarts socket thread if needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

OpenNapListener

public OpenNapListener(PortRange range)

OpenNapListener

public OpenNapListener()
Method Detail

addSocketListener

public void addSocketListener(SocketListener s)

removeSocketListener

public void removeSocketListener(SocketListener s)

getPort

public int getPort()

die

public void die()

setPortRange

public void setPortRange(PortRange newValue)
Sets a new port range and restarts socket thread if needed.



Copyright © 2001-2005 XNap Team. All Rights Reserved.