Codota Logo
ConnectionCloseEvent
Code IndexAdd Codota to your IDE (free)

How to use
ConnectionCloseEvent
in
com.mpush.api.event

Best Java code snippets using com.mpush.api.event.ConnectionCloseEvent (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: mpusher/mpush

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
origin: mpusher/mpush

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
origin: mpusher/mpush

@Override
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
  int clientNum = STATISTICS.clientNum.decrementAndGet();
  connection.close();
  EventBus.post(new ConnectionCloseEvent(connection));
  LOGGER.info("client disconnect channel={}, clientNum={}", connection, clientNum);
}
origin: mpusher/mpush

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
origin: com.github.mpusher/mpush-client

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
origin: com.github.mpusher/mpush-core

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
origin: com.github.mpusher/mpush-client

@Override
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
  int clientNum = STATISTICS.clientNum.decrementAndGet();
  connection.close();
  EventBus.post(new ConnectionCloseEvent(connection));
  LOGGER.info("client disconnect channel={}, clientNum={}", connection, clientNum);
}
origin: com.github.mpusher/mpush-core

  @Override
  public void channelInactive(ChannelHandlerContext ctx) throws Exception {
    Connection connection = connectionManager.removeAndClose(ctx.channel());
    EventBus.post(new ConnectionCloseEvent(connection));
    Logs.CONN.info("client disconnected conn={}", connection);
  }
}
com.mpush.api.eventConnectionCloseEvent

Javadoc

Created by ohun on 2016/1/10.

Most used methods

  • <init>

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JTextField (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now