Holger's
Java API

Uses of Interface
com.antelmann.net.NetConnectionHandler

Packages that use NetConnectionHandler
com.antelmann.db.remote This package contains classes that add remote capacities to the database concept of the super package. 
com.antelmann.net The classes in this package are designed to provide convenient access to Internet related functionality. 
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.db.remote
 

Classes in com.antelmann.db.remote that implement NetConnectionHandler
 class ChangeNotificationServer
          implements a server for a change notification mechanism.
 class RemoteDatabaseChangeHandler
          delivers changes delivered from a change notification server to its listeners.
 

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
           
 class RemoteNetInterfaceProtocol
          implements a convenient protocol for invoking calls to an object remotely using reflection via proxy.
 

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()
           
 

Methods in com.antelmann.net with parameters of type NetConnectionHandler
 MessageDelegator NetConnectionServer.DefaultDispatcher.createDispatcher(NetConnection con, NetConnectionHandler handler)
           
 MessageDelegator JMessenger.createDispatcher(NetConnection con, NetConnectionHandler handler)
           
 MessageDelegator ConnectionDispatcher.createDispatcher(NetConnection con, NetConnectionHandler handler)
          responsible for creating the delegator based on the created connection and the associated handler
 MessageDelegator ChatServer.createDispatcher(NetConnection con, NetConnectionHandler handler)
           
 

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.DefaultDispatcher(NetConnectionHandler handler, Handshake handshake, Logger logger)
           
NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake)
           
NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake, Logger logger)
           
NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake, Logger logger, Logger delegateLogger)
          each connection made will run in a separate thread that delegates every message received to the given handler
 

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 MessageDispatcher.
 class SocketLogListener
          used to listen to LogEntry objects send through a NetConnection.
 



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