org.apache.storm.utils

## Class InprocMessaging

- java.lang.Object
- - org.apache.storm.utils.InprocMessaging

-     public class InprocMessaging
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InprocMessaging()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `acquireNewPort()`
    `static Object` | `pollMessage(int port)`
    `static void` | `sendMessage(int port, Object msg)`
    `static void` | `sendMessageNoWait(int port, Object msg)`
    `static Object` | `takeMessage(int port)`
    `static void` | `waitForReader(int port)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InprocMessaging

          public InprocMessaging()

  - ### Method Detail

    - #### acquireNewPort

          public static int acquireNewPort()

    - #### sendMessage

          public static void sendMessage(int port,
                                         Object msg)

    - #### sendMessageNoWait

          public static void sendMessageNoWait(int port,
                                               Object msg)

    - #### takeMessage

          public static Object takeMessage(int port)
                                    throws InterruptedException

      Throws:
        `InterruptedException`

    - #### pollMessage

          public static Object pollMessage(int port)

    - #### waitForReader

          public static void waitForReader(int port)

Copyright © 2021 The Apache Software Foundation. All rights reserved.