Class ServiceTunnel

Direct Known Subclasses:
LogTunnel

public class ServiceTunnel extends ServiceSection
This class implements a "tunnel" service section. Every message sent from the input section is forwarded to the output section and every message sent the from output section is backwarded to the input section.
Author:
Francesco Radaelli
  • Constructor Details

    • ServiceTunnel

      public ServiceTunnel()
      Creates a new instance of ServiceTunnel.
  • Method Details

    • process

      protected int process(NetMessage message) throws NetException
      Description copied from class: NodeSection
      This method should be overridden to implement a specific NetMessage processor.
      Specified by:
      process in class NodeSection
      Parameters:
      message - message to be processed.
      Returns:
      message processing result.
      Throws:
      NetException