/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }
/** * Method will be called, when the connection gets connected. * @throws IOException */ protected final void onConnect() throws IOException { final AtomicReference<ConnectResultHandler> localRef = connectHandlerRef; final ConnectResultHandler localConnectHandler; if (localRef != null && (localConnectHandler = localRef.getAndSet(null)) != null) { localConnectHandler.connected(); connectHandlerRef = null; } notifyProbesConnect(this); }