net.anotheria.net.shared.server
Class ServerLogger
java.lang.Object
net.anotheria.net.shared.server.ServerLogger
- All Implemented Interfaces:
- IConnectionListener, IServerListener
public class ServerLogger
- extends Object
- implements IServerListener, IConnectionListener
A server and connection listener which just prints out to system-out.
- Author:
- another
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLogger
public ServerLogger(IServer targetServer)
connectionClosed
public void connectionClosed(IConnection connection)
- Description copied from interface:
IConnectionListener
- Called whenever a connection has been closed.
- Specified by:
connectionClosed in interface IConnectionListener
- Parameters:
connection - the connection that has been closed
connectionOpened
public void connectionOpened(IConnection connection)
- Description copied from interface:
IConnectionListener
- Called whenever a connection has been opened
- Specified by:
connectionOpened in interface IConnectionListener
- Parameters:
connection - the connection that has been opened.
connectionCreated
public void connectionCreated(IConnection connection)
- Specified by:
connectionCreated in interface IServerListener
connectionRemoved
public void connectionRemoved(IConnection connection)
- Specified by:
connectionRemoved in interface IServerListener
Copyright © 2010-2013 anotheria.net. All Rights Reserved.