Package org.apache.mina.transport.vmpipe
In-VM pipe support which removes the overhead of local loopback communication.
What is 'in-VM pipe'?
In-VM pipe is a direct event forwarding mechanism between two
ProtocolHandlers 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:
- SMTP server and SPAM filtering server,
- web server and Servlet/JSP container.
Please refer to Tennis example.
- Author:
- Apache MINA Project
-
Interface Summary Interface Description VmPipeSessionConfig AnIoSessionConfigfor vmpipe transport type. -
Class Summary Class Description DefaultVmPipeSessionConfig A default implementation ofVmPipeSessionConfig.VmPipe TODO Add documentationVmPipeAcceptor Binds the specifiedIoHandlerto the specifiedVmPipeAddress.VmPipeAddress ASocketAddresswhich represents in-VM pipe port number.VmPipeConnector Connects toIoHandlers which is bound on the specifiedVmPipeAddress.VmPipeFilterChain TODO Add documentationVmPipeSession AIoSessionfor in-VM transport (VM_PIPE).