Class OSIPHeader

java.lang.Object
org.openwms.common.comm.osip.OSIPHeader
All Implemented Interfaces:
Serializable

public class OSIPHeader extends Object implements Serializable
A OSIPHeader represents the header part of a OSIP telegram message.
Author:
Heiko Scherrer
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getAll

      public Iterable<Map.Entry<String,Object>> getAll()
    • getSync

      public String getSync()
      Get the sync.
      Returns:
      the sync.
    • getMessageLength

      public short getMessageLength()
      Get the messageLength.
      Returns:
      the messageLength.
    • getSender

      public String getSender()
      Get the sender.
      Returns:
      the sender.
    • setSender

      public void setSender(String sender)
      Set the sender.
      Parameters:
      sender - The sender to set.
    • getReceiver

      public String getReceiver()
      Get the receiver.
      Returns:
      the receiver.
    • setReceiver

      public void setReceiver(String receiver)
      Set the receiver.
      Parameters:
      receiver - The receiver to set.
    • getSequenceNo

      public short getSequenceNo()
      Get the sequenceNo.
      Returns:
      the sequenceNo.
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object