Class TicPush

java.lang.Object
org.sim0mq.test.TicPush

public final class TicPush
extends Object
Client example for JeroMQ / ZeroMQ.

(c) copyright 2015-2020 Delft University of Technology.
BSD-style license. See DSOL License.

Version:
Oct 21, 2016
Author:
Alexander Verbraeck
  • Method Details

    • main

      public static void main​(String[] args) throws Sim0MQException
      Parameters:
      args - command line arguments
      Throws:
      Sim0MQException - on error
    • string2byte

      public static byte[] string2byte​(String s)
      Turn String into byte array with closing zero.
      Parameters:
      s - the input string
      Returns:
      byte array with closing zero byte
    • byte2string

      public static String byte2string​(byte[] b)
      Turn byte array with closing zero into String.
      Parameters:
      b - the byte array with closing zero byte
      Returns:
      String without closing zero