org.eclipse.emf.emfstore.internal.server.connection
Interface ConnectionHandler<T extends EMFStoreInterface>

Type Parameters:
T - server interface type E.g EMFStore or AdminEmfStore
All Known Implementing Classes:
XmlRpcAdminConnectionHandler, XmlRpcConnectionHandler

public interface ConnectionHandler<T extends EMFStoreInterface>

The ConnectionHandler makes the network transport layer transparent for the server. It requires EMFStore and AuthenticationControl to delegate the messages.

Author:
Wesendonk, koegel

Method Summary
 String getName()
          Return the handler name.
 void init(T emfStore, AccessControl accessControl)
          This method initializes the ConnectionHandler.
 void stop()
          Stop the handler.
 

Method Detail

init

void init(T emfStore,
          AccessControl accessControl)
          throws FatalESException,
                 ESException
This method initializes the ConnectionHandler.

Parameters:
emfStore - an implementation of a server interface
accessControl - an implementation of the AuthenticationControl
Throws:
FatalESException - in case the server can't initialize
ESException - in case an exception occurred within the server

stop

void stop()
Stop the handler.


getName

String getName()
Return the handler name.

Returns:
the name of the handler


Copyright © 2015. All Rights Reserved.