edu.nps.moves.disutil
Class NioServer.Adapter

java.lang.Object
  extended by edu.nps.moves.disutil.NioServer.Adapter
All Implemented Interfaces:
NioServer.Listener, java.util.EventListener
Enclosing class:
NioServer

public class NioServer.Adapter
extends java.lang.Object
implements NioServer.Listener

A helper class that implements all methods of the NioServer.Listener interface with empty methods.

This code is released into the Public Domain. Since this is Public Domain, you don't need to worry about licensing, and you can simply copy this NioServer.java file to your own package and use it as you like. Enjoy. Please consider leaving the following statement here in this code:

This NioServer class was copied to this project from its source as found at iHarder.net.

Version:
0.1
Author:
Robert Harder, rharder@users.sourceforge.net
See Also:
NioServer, NioServer.Listener, NioServer.Event

Constructor Summary
NioServer.Adapter()
           
 
Method Summary
 void nioServerConnectionClosed(NioServer.Event evt)
          Empty method.
 void nioServerNewConnectionReceived(NioServer.Event evt)
          Empty method.
 void nioServerTcpDataReceived(NioServer.Event evt)
          Empty method.
 void nioServerUdpDataReceived(NioServer.Event evt)
          Empty method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioServer.Adapter

public NioServer.Adapter()
Method Detail

nioServerTcpDataReceived

public void nioServerTcpDataReceived(NioServer.Event evt)
Empty method.

Specified by:
nioServerTcpDataReceived in interface NioServer.Listener
Parameters:
evt - the shared event
See Also:
NioServer.Listener

nioServerUdpDataReceived

public void nioServerUdpDataReceived(NioServer.Event evt)
Empty method.

Specified by:
nioServerUdpDataReceived in interface NioServer.Listener
Parameters:
evt - the shared event
See Also:
NioServer.Listener

nioServerNewConnectionReceived

public void nioServerNewConnectionReceived(NioServer.Event evt)
Empty method.

Specified by:
nioServerNewConnectionReceived in interface NioServer.Listener
Parameters:
evt - the shared event
See Also:
NioServer.Listener

nioServerConnectionClosed

public void nioServerConnectionClosed(NioServer.Event evt)
Empty method.

Specified by:
nioServerConnectionClosed in interface NioServer.Listener
Parameters:
evt - the shared event
See Also:
NioServer.Listener