backtype.storm.utils
Class InprocMessaging

java.lang.Object
  extended by backtype.storm.utils.InprocMessaging

public class InprocMessaging
extends Object


Constructor Summary
InprocMessaging()
           
 
Method Summary
static int acquireNewPort()
           
static Object pollMessage(int port)
           
static void sendMessage(int port, Object msg)
           
static Object takeMessage(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)

takeMessage

public static Object takeMessage(int port)
                          throws InterruptedException
Throws:
InterruptedException

pollMessage

public static Object pollMessage(int port)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.