请参阅: 说明
接口 | 说明 |
---|---|
VmPipeSessionConfig |
An
IoSessionConfig for vmpipe transport type. |
类 | 说明 |
---|---|
VmPipeAcceptor |
Binds the specified
IoHandler to the specified
VmPipeAddress . |
VmPipeAddress |
A
SocketAddress which represents in-VM pipe port number. |
VmPipeConnector |
Connects to
IoHandler s which is bound on the specified
VmPipeAddress . |
In-VM pipe is a direct event forwarding mechanism between two
ProtocolHandler
s in the
same Java Virtual Machine. Using in-VM pipe, you can remove the overhead
of encoding and decoding which is caused uselessly by local loopback
network communication. Here are some useful situations possible:
Please refer to Tennis example.