Holger's
Java API

Uses of Interface
com.antelmann.net.Handshake

Packages that use Handshake
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. 
 

Uses of Handshake in com.antelmann.db.remote
 

Methods in com.antelmann.db.remote that return Handshake
static Handshake ChangeNotificationServer.createHandshake(String databaseName)
           
 

Uses of Handshake in com.antelmann.net
 

Classes in com.antelmann.net that implement Handshake
 class SimpleHandshake
           
 

Fields in com.antelmann.net declared as Handshake
static Handshake ChatServer.HANDSHAKE
           
protected  Handshake SocketConnection.hs
           
 

Methods in com.antelmann.net that return Handshake
 Handshake SocketConnection.getHandshake()
           
 Handshake SecureConnection.getHandshake()
           
 Handshake NetConnectionServer.DefaultDispatcher.getHandshake()
          returns the Handshake given in the constructor
 Handshake NetConnection.getHandshake()
          returns the identification type object for this connection; this signature is the same on both sides of the connection.
 Handshake JMessenger.getHandshake()
           
 Handshake ConnectionDispatcher.getHandshake()
          returns a signature object used to identify the desired connection type handled by this ConnectionDispatcher object
 Handshake ChatServer.getHandshake()
           
 

Methods in com.antelmann.net with parameters of type Handshake
static SocketConnection SocketConnection.createConnection(String hostname, int port, Handshake hs)
          returns a SocketConnection provided there is a Server listening at the specified location with the secified signature; note that this method is blocking.
static Object RemoteNetInterfaceProtocol.createRemoteObject(String host, int port, Handshake hs, Class<?>... interfaces)
           
static Object RemoteNetInterfaceProtocol.createRemoteObject(String host, int port, Handshake hs, Logger logger, Class<?>... interfaces)
           
static SocketConnection SocketConnection.createServerConnection(int port, Handshake hs)
           
static SocketConnection SocketConnection.createServerConnection(ServerSocket serverSocket, Handshake hs)
          waits and listens for a single connection to be made and returns a SocketConnection if the connection made matches the signature.
static SocketConnection SocketConnection.createServerConnection(Socket socket, Handshake hs)
          creates a connection based on a socket that results from a ServerSocket.accept()
static SSLSocketConnection SSLSocketConnection.createSSLConnection(SSLHelper helper, String hostname, int port, Handshake handshake)
          returns a SocketConnection provided there is a Server listening at the specified location with the specified signature; note that this method is blocking.
static SSLSocketConnection SSLSocketConnection.createSSLServerConnection(SSLHelper helper, int port, Handshake handshake)
           
static NetConnection NetConnectionServer.waitForConnection(int port, Handshake handshake, int timeout)
          listens for a single connection to be made and returns a NetConnection if the connection made matches the signature
 

Constructors in com.antelmann.net with parameters of type Handshake
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
SocketConnection(Socket socket, Handshake hs)
           
SSLSocketConnection(SSLSocket socket, Handshake handshake)
           
 



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