Class S7Configuration

java.lang.Object
org.apache.plc4x.java.s7.readwrite.configuration.S7Configuration
All Implemented Interfaces:
Configuration, TransportConfiguration, TcpTransportConfiguration

public class S7Configuration extends Object implements Configuration, TcpTransportConfiguration
  • Field Details

    • localRack

      public int localRack
    • localSlot

      public int localSlot
    • localTsap

      public int localTsap
    • remoteRack

      public int remoteRack
    • remoteSlot

      public int remoteSlot
    • remoteTsap

      public int remoteTsap
    • pduSize

      public int pduSize
    • maxAmqCaller

      public int maxAmqCaller
    • maxAmqCallee

      public int maxAmqCallee
    • controllerType

      public String controllerType
  • Constructor Details

    • S7Configuration

      public S7Configuration()
  • Method Details

    • getLocalRack

      public int getLocalRack()
    • setLocalRack

      public void setLocalRack(int localRack)
    • getLocalSlot

      public int getLocalSlot()
    • setLocalSlot

      public void setLocalSlot(int localSlot)
    • getLocalTsap

      public int getLocalTsap()
    • setLocalTsap

      public void setLocalTsap(int localTsap)
    • getRemoteRack

      public int getRemoteRack()
    • setRemoteRack

      public void setRemoteRack(int remoteRack)
    • getRemoteSlot

      public int getRemoteSlot()
    • setRemoteSlot

      public void setRemoteSlot(int remoteSlot)
    • getRemoteTsap

      public int getRemoteTsap()
    • setRemoteTsap

      public void setRemoteTsap(int remoteTsap)
    • getPduSize

      public int getPduSize()
    • setPduSize

      public void setPduSize(int pduSize)
    • getMaxAmqCaller

      public int getMaxAmqCaller()
    • setMaxAmqCaller

      public void setMaxAmqCaller(int maxAmqCaller)
    • getMaxAmqCallee

      public int getMaxAmqCallee()
    • setMaxAmqCallee

      public void setMaxAmqCallee(int maxAmqCallee)
    • getControllerType

      public String getControllerType()
    • setControllerType

      public void setControllerType(String controllerType)
    • getDefaultPort

      public int getDefaultPort()
      Per default port for the S7 protocol is 102.
      Specified by:
      getDefaultPort in interface TcpTransportConfiguration
      Returns:
      102
    • toString

      public String toString()
      Overrides:
      toString in class Object