Package com.art.anette.server.network

Examples of com.art.anette.server.network.ClientThread


     * @param sdbc die ServerDBControl des Employees
     * @param obj  Das Object.
     * @throws NetworkException Tritt auf, falls das Senden fehlschlägt.
     */
    public boolean send(ServerDBControl sdbc, Response obj) throws NetworkException {
        final ClientThread clientThread = sdbcs.get(sdbc);
        if (clientThread == null) {
            return false;
        }

        try {
            clientThread.send(obj);
            return true;
        } catch (IOException ex) {
            if (NetworkControl.wasCausedByClosedSocket(ex)) {
                logger.info("Client closed the connection");
                return false;
View Full Code Here

TOP

Related Classes of com.art.anette.server.network.ClientThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.