WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

This tunnel uses Netty protocol.

Client-side tunnel

<accessor>
  <prototype>NKPClient</prototype>
  <config>
    <passByValue>true</passByValue>
    <tunnel factory="com.ten60.netkernel.nkp.netty.NettyNKPTunnelFactory">
      <host>localhost</host>
      <port>10602</port>
    </tunnel>
  </config>
</accessor>

Supported configuration options are:

  • host - host of server
  • port - port of server
  • threads - (default: 2) number of threads available in NIO pool
  • tls - use a secure TLS connection
  • tlsExplicitTrust - (optional) even connect to self-signed or expired certificated servers

Server-side tunnel

<transport>
  <prototype>NKPServer</prototype>
  <config>
    <tunnel factory="com.ten60.netkernel.nkp.netty.NettyNKPTunnelFactory">
      <port>10602</port>
    </tunnel>
  </config>
</transport>

Supported configuration options are:

  • port - port to host server on
  • host - inet address to host server on
  • threads - (default: 2) number of threads available in NIO pool
  • tls - use a secure TLS connection
  • tlsKeyStore - URI or resource to source that hold keystore
  • tlsKeyStorePassword - password for keystore
  • tlsKeyPassword - password for key in keystore