Class S7Configuration
java.lang.Object
org.apache.plc4x.java.s7.readwrite.configuration.S7Configuration
- All Implemented Interfaces:
Configuration,TransportConfiguration,TcpTransportConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintintintintintintintFields inherited from interface org.apache.plc4x.java.transport.tcp.TcpTransportConfiguration
NO_DEFAULT_PORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintPer default port for the S7 protocol is 102.intintintintintintintintintvoidsetControllerType(String controllerType) voidsetLocalRack(int localRack) voidsetLocalSlot(int localSlot) voidsetLocalTsap(int localTsap) voidsetMaxAmqCallee(int maxAmqCallee) voidsetMaxAmqCaller(int maxAmqCaller) voidsetPduSize(int pduSize) voidsetRemoteRack(int remoteRack) voidsetRemoteSlot(int remoteSlot) voidsetRemoteTsap(int remoteTsap) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.transport.tcp.TcpTransportConfiguration
getConnectTimeout, isKeepAlive, isNoDelay
-
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
-
-
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
-
setControllerType
-
getDefaultPort
public int getDefaultPort()Per default port for the S7 protocol is 102.- Specified by:
getDefaultPortin interfaceTcpTransportConfiguration- Returns:
- 102
-
toString
-