Class COTP

java.lang.Object
javaforce.controls.s7.COTP

public class COTP extends Object
COTP - Connection-Oriented Transport Protocol (ISO 8073/X.224)
Author:
pquiring
  • Field Details

    • length

      public byte length
    • PDU_type

      public byte PDU_type
    • pdata

      public byte[] pdata
    • type_data

      public static final byte type_data
      See Also:
    • type_connect

      public static final byte type_connect
      See Also:
    • type_connect_ack

      public static final byte type_connect_ack
      See Also:
  • Constructor Details

    • COTP

      public COTP()
    • COTP

      public COTP(byte type)
  • Method Details

    • size

      public int size()
    • write

      public void write(byte[] data, int offset)
    • read

      public void read(byte[] data, int offset) throws Exception
      Throws:
      Exception