java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.kubernetes.proxy.TransportMessage

public class TransportMessage extends Object
A test data class.
Author:
Ahmad Alamoush, SSE
  • Field Details

    • streamId

      private String streamId
    • messageByte

      private byte[] messageByte
    • requestWatch

      private String requestWatch
  • Constructor Details

    • TransportMessage

      public TransportMessage()
      Creates an empty TransportMessage instance.
    • TransportMessage

      public TransportMessage(String streamId, byte[] messageByte, String requestWatch)
      Creates a TransportMessage instance.
      Parameters:
      streamId - the streamId for the stream message
      messageByte - the text for the message in bytes
      requestWatch - is the Request Watch Type for the stream message
  • Method Details

    • getRequestWatch

      public String getRequestWatch()
      Returns the Request Watch Type for the stream message.
      Returns:
      the RequestWatchType for the stream message
    • setRequestWatch

      public void setRequestWatch(String requestWatch)
      Set the RequestWatchType for the stream message.
      Parameters:
      requestWatch - is the Request Watch Type for the stream message
    • getStreamId

      public String getStreamId()
      Returns the streamId for the stream message.
      Returns:
      the streamId for the stream message
    • setStreamId

      public void setStreamId(String streamId)
      Set the streamId for the stream message.
      Parameters:
      streamId - is the streamId for the stream message
    • getMessageByte

      public byte[] getMessageByte()
      Returns the text for the message.
      Returns:
      the messageTxt
    • setMessageByte

      public void setMessageByte(byte[] messageByte)
      Set the method of the text for the message.
      Parameters:
      messageByte - the text for the message
    • generateStreamIdNo

      public void generateStreamIdNo()
      Generate and append id number for the stream id.