Class ZMQPushSocket<T>

java.lang.Object
org.micromanager.pyjavaz.ZMQSocketWrapper
org.micromanager.pyjavaz.ZMQPushSocket<T>

public class ZMQPushSocket<T> extends ZMQSocketWrapper
Author:
henrypinkard
  • Constructor Details

    • ZMQPushSocket

      public ZMQPushSocket(Function<T,mmcorej.org.json.JSONObject> serializationFn)
  • Method Details

    • initialize

      public void initialize(int port)
      Specified by:
      initialize in class ZMQSocketWrapper
    • push

      public void push(T o)
      Serialize the object and send it out to any pulling sockets
      Parameters:
      o -