congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WsCheckAliveFilter.setReadIdleTimeInMillis
Code IndexAdd Tabnine to your IDE (free)

How to use
setReadIdleTimeInMillis
method
in
org.kaazing.gateway.transport.ws.bridge.filter.WsCheckAliveFilter

Best Java code snippets using org.kaazing.gateway.transport.ws.bridge.filter.WsCheckAliveFilter.setReadIdleTimeInMillis (Showing top 2 results out of 315)

origin: kaazing/gateway

private void schedulePing(IoSessionEx session) {
  nextAction = NextAction.PING;
  setReadIdleTimeInMillis(session, pingDelay);
}
origin: kaazing/gateway

private void writePing(NextFilter nextFilter, IoSessionEx session) throws Exception {
  WsPingMessage emptyPing = new WsPingMessage();
  setReadIdleTimeInMillis(session, maxExpectedRtt);
  nextAction = NextAction.PONG;
  if (logger.isTraceEnabled()) {
    logger.trace(String.format("Writing %s at time %d", emptyPing, System.currentTimeMillis()));
  }
  pingSentTime = System.currentTimeMillis();
  session.write(emptyPing);
}
org.kaazing.gateway.transport.ws.bridge.filterWsCheckAliveFiltersetReadIdleTimeInMillis

Popular methods of WsCheckAliveFilter

  • addIfFeatureEnabled
  • <init>
  • getInactivityTimeoutMillis
  • init
  • moveIfFeatureEnabled
  • schedulePing
  • validateSystemProperties
  • writePing

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now