Skip to content

Instantly share code, notes, and snippets.

@danzeeeman
Created September 13, 2013 08:10
Show Gist options
  • Save danzeeeman/6547964 to your computer and use it in GitHub Desktop.
Save danzeeeman/6547964 to your computer and use it in GitHub Desktop.
this.b = new WebSocket("https://www.google.com", "", this.c);
this.b.a(new WebSocket.Listener()
{
public void onConnected() {
if (ApplicationChannel.b(ApplicationChannel.this) != 0L) {
ApplicationChannel.a(ApplicationChannel.this, SystemClock.uptimeMillis());
ApplicationChannel.d(ApplicationChannel.this).postDelayed(ApplicationChannel.c(ApplicationChannel.this), 1000L);
}
ApplicationChannel.d(ApplicationChannel.this).post(new Runnable()
{
public void run() {
ApplicationChannel.e(ApplicationChannel.this).a(ApplicationChannel.this);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment