public class ClientConnectionHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ClientBaseConnection |
connection |
| Constructor and Description |
|---|
ClientConnectionHandler(ClientBaseConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(IoSession session,
java.lang.Throwable error) |
void |
messageReceived(IoSession session,
java.lang.Object message) |
void |
messageSent(IoSession session,
java.lang.Object message) |
void |
sessionClosed(IoSession session) |
void |
sessionCreated(IoSession session) |
void |
sessionIdle(IoSession session,
IdleStatus idleState) |
void |
sessionOpened(IoSession session) |
protected final ClientBaseConnection connection
public ClientConnectionHandler(ClientBaseConnection connection)
public void exceptionCaught(IoSession session,
java.lang.Throwable error)
throws java.lang.Exception
java.lang.Exceptionpublic void messageReceived(IoSession session,
java.lang.Object message)
throws java.lang.Exception
java.lang.Exceptionpublic void messageSent(IoSession session,
java.lang.Object message)
throws java.lang.Exception
java.lang.Exceptionpublic void sessionClosed(IoSession session)
throws java.lang.Exception
java.lang.Exceptionpublic void sessionIdle(IoSession session,
IdleStatus idleState)
throws java.lang.Exception
java.lang.Exceptionpublic void sessionOpened(IoSession session)
throws java.lang.Exception
java.lang.Exceptionpublic void sessionCreated(IoSession session)
throws java.lang.Exception
java.lang.Exception
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0