Package com.ed.edcom

Class DspBlob

java.lang.Object
com.ed.edcom.DspBlob

public final class DspBlob extends Object
Binary data representation.
  • Constructor Details

    • DspBlob

      public DspBlob(byte[] bytes, byte[] acknowledge, long timeOut, byte messageType, int retryCount) throws Exception
      Constructor
      Parameters:
      bytes - bytes to send
      acknowledge - required acknowledge bytes
      timeOut - timeout in millisecond
      messageType - message type
      retryCount - retry count
      Throws:
      Exception - wrong parameters
  • Method Details

    • getAcknowledgeStatus

      public int getAcknowledgeStatus()
      Get acknowledge status
      Returns:
      '1' acknowledge received '0' wait '-1' no or bad acknowledge received