| 程序包 | 说明 |
|---|---|
| com.firefly.net | |
| com.firefly.net.event | |
| com.firefly.net.support.wrap.client | |
| com.firefly.net.tcp.aio | |
| com.firefly.net.tcp.ssl |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Decoder.decode(ByteBuffer buf,
Session session) |
void |
Encoder.encode(Object message,
Session session) |
void |
Handler.exceptionCaught(Session session,
Throwable t) |
void |
EventManager.executeCloseTask(Session session) |
void |
EventManager.executeExceptionTask(Session session,
Throwable t) |
void |
EventManager.executeOpenTask(Session session) |
void |
EventManager.executeReceiveTask(Session session,
Object message) |
void |
Handler.messageRecieved(Session session,
Object message) |
void |
Handler.sessionClosed(Session session) |
void |
Handler.sessionOpened(Session session) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultEventManager.executeCloseTask(Session session) |
void |
DefaultEventManager.executeExceptionTask(Session session,
Throwable t) |
void |
DefaultEventManager.executeOpenTask(Session session) |
void |
DefaultEventManager.executeReceiveTask(Session session,
Object message) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Session |
TcpConnection.session |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
TcpConnection.getSession() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract TcpConnection |
SimpleTcpClientHandler.createTcpConnection(Session session,
long timeout) |
void |
SimpleTcpClientHandler.exceptionCaught(Session session,
Throwable t) |
void |
SimpleTcpClientHandler.messageRecieved(Session session,
Object message) |
void |
SimpleTcpClientHandler.sessionClosed(Session session) |
void |
SimpleTcpClientHandler.sessionOpened(Session session) |
| 构造器和说明 |
|---|
TcpConnection(Session session) |
TcpConnection(Session session,
long timeout) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsynchronousTcpSession |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Session |
SSLSession.session |
| 构造器和说明 |
|---|
SSLSession(SSLContext sslContext,
Session session,
boolean useClientMode,
SSLEventHandler sslEventHandler) |
SSLSession(SSLContext sslContext,
SSLEngine sslEngine,
Session session,
boolean useClientMode,
SSLEventHandler sslEventHandler,
org.eclipse.jetty.alpn.ALPN.Provider provider) |
Copyright © 2016. All rights reserved.