ProxyConnector.cancelConnectFuture
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.apache.mina.proxy.ProxyConnector.cancelConnectFuture (Showing top 3 results out of 315)

  • Common ways to obtain ProxyConnector
private void myMethod () {
ProxyConnector p =
  • SocketConnector connector;new ProxyConnector(connector)
  • Smart code suggestions by Codota
}
origin: org.apache.mina/mina-core

if (evt.getType() == IoSessionEventType.CLOSED) {
  if (proxyIoSession.isAuthenticationFailed()) {
    proxyIoSession.getConnector().cancelConnectFuture();
    discardSessionQueueEvents();
    evt.deliverEvent();
origin: kaazing/gateway

if (evt.getType() == IoSessionEventType.CLOSED) {
  if (proxyIoSession.isAuthenticationFailed()) {
    proxyIoSession.getConnector().cancelConnectFuture();
    discardSessionQueueEvents();
    evt.deliverEvent();
origin: org.apache.directory.api/api-ldap-client-all

if (evt.getType() == IoSessionEventType.CLOSED) {
  if (proxyIoSession.isAuthenticationFailed()) {
    proxyIoSession.getConnector().cancelConnectFuture();
    discardSessionQueueEvents();
    evt.deliverEvent();
org.apache.mina.proxyProxyConnectorcancelConnectFuture

Javadoc

Cancels the real connection when reconnection is in use.

Popular methods of ProxyConnector

  • <init>
    Creates a new proxy connector.
  • connect
  • fireConnected
    Fires the connection event on the real future to notify the client.
  • getHandler
  • setConnectTimeoutMillis
  • setConnector
    Sets the SocketConnector to be used for connections to the proxy server.
  • setDefaultRemoteAddress
  • setHandler
  • setProxyIoSession
    Sets the proxy session object of this connector.

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)