Package com.art.anette.datamodel.dataobjects.simple

Examples of com.art.anette.datamodel.dataobjects.simple.Status


     * @param sdbc         die ServerDBControl
     * @param clientThread
     */
    public synchronized void register(ServerDBControl sdbc, ClientThread clientThread) {
        if (!sdbcs.containsKey(sdbc)) {
            inform(new Status(sdbc.getOwner().getId(), true));
            sdbcs.put(sdbc, clientThread);
        }
    }
View Full Code Here


     * @param sdbc die zu entfernende ServerDBControl
     */
    public synchronized void unregister(ServerDBControl sdbc) {
        if (sdbcs.containsKey(sdbc)) {
            sdbcs.remove(sdbc);
            inform(new Status(sdbc.getOwner().getId(), false));
        }

    }
View Full Code Here

TOP

Related Classes of com.art.anette.datamodel.dataobjects.simple.Status

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.