Class OSIPTelegramResolver

java.lang.Object
org.openwms.common.comm.osip.OSIPTelegramResolver
All Implemented Interfaces:
org.openwms.common.comm.TelegramResolver

@Component class OSIPTelegramResolver extends Object implements org.openwms.common.comm.TelegramResolver
A OSIPTelegramResolver.
Author:
Heiko Scherrer
  • Constructor Details

    • OSIPTelegramResolver

      OSIPTelegramResolver()
  • Method Details

    • getTelegramType

      public String getTelegramType(String telegram)
      A CommonMessage is able to define the type of message from the telegram String. Currently, the type identifier starts directly after the header and has a length of 4 characters.
      Specified by:
      getTelegramType in interface org.openwms.common.comm.TelegramResolver
      Parameters:
      telegram - The telegram String to resolve the type for
      Returns:
      The telegram type as case-insensitive String