Holger's
Java API

Uses of Interface
com.antelmann.net.NetConnectionHandler

Packages that use NetConnectionHandler
com.antelmann.game This package contains packages to support game implementations. 
com.antelmann.net The classes in this package are designed to provide convenient access to Internet related functionality. 
com.antelmann.timeregister This package contains classes that implement a time register solution for a small business. 
com.antelmann.util.logging This package contains classes that implement a custom logging for this framework - separate from java.util.logging. 
 

Uses of NetConnectionHandler in com.antelmann.game
 

Classes in com.antelmann.game that implement NetConnectionHandler
 class GameServer
          A GameServer hosts a GamePlay object that clients can play remotely by connecting to it and following this server's protocol.
 class JPlayerClient
          a GUI application acting as a client Player in a game played over the network
 

Methods in com.antelmann.game that return NetConnectionHandler
 NetConnectionHandler GameServer.createHandler(NetConnection con)
           
 

Uses of NetConnectionHandler in com.antelmann.net
 

Classes in com.antelmann.net that implement NetConnectionHandler
 class ChatServer
          ChatServer implements a server that handles chat messages that are broadcasted among the active connections to the server.
 class JChat
          JChat provides a simple GUI chat client that works with ChatServer.
 class JMessenger
          JMessenger provides a simple GUI messenger for a direct peer-to-peer connection that uses one side as the server.
 class NetConnectionAdapter
           
 

Methods in com.antelmann.net that return NetConnectionHandler
 NetConnectionHandler NetConnectionServer.DefaultDispatcher.createHandler(NetConnection con)
          uses the same handler (given in the constructor) for all connections
 NetConnectionHandler JMessenger.createHandler(NetConnection con)
           
 NetConnectionHandler ConnectionDispatcher.createHandler(NetConnection con)
          produces a NetConnectionHandler which will be started in a new Thread (created by the NetConnectionServer's ThreadFactory) to handle the given NetConnection and listens to messages.
 NetConnectionHandler ChatServer.createHandler(NetConnection con)
           
 NetConnectionHandler MessageDelegator.getHandler()
           
 

Constructors in com.antelmann.net with parameters of type NetConnectionHandler
MessageDelegator(NetConnection con, NetConnectionHandler handler)
           
MessageDelegator(NetConnection con, NetConnectionHandler handler, Logger logger)
          if logger is not null, it will be used to log established and closed connections
NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler, Handshake handshake)
           
NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake)
          each connection made will run in a separate thread that delegates every message received to the given handler
NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake, Logger logger)
          each connection made will run in a separate thread that delegates every message received to the given handler; if logger is not null, it will be used to log both: connection and message handling
 

Uses of NetConnectionHandler in com.antelmann.timeregister
 

Classes in com.antelmann.timeregister that implement NetConnectionHandler
 class PunchDBServer
          receives messages from a PunchDBClient and uses the given PunchDB
 

Uses of NetConnectionHandler in com.antelmann.util.logging
 

Classes in com.antelmann.util.logging that implement NetConnectionHandler
 class LogNetPropagator
          can be registered to listen logging events and then propagates them as serialized byte arrays over its NetConnectionServer.
 class LogNetReceiver
          can be used to easily listen to a LogNetPropagator; most easily used in conjunction with a MessageDelegator.
 class SocketLogListener
          used to listen to LogEntry objects send through a NetConnection.
 



(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads