| Constructor and Description | 
|---|
Context()  | 
| Modifier and Type | Method and Description | 
|---|---|
IConnection | 
bind(String storm_id,
    int port)
This method establishes a server side connection 
 | 
IConnection | 
connect(String storm_id,
       String host,
       int port)
This method establish a client side connection to a remote server implementation should return a new connection every call 
 | 
void | 
prepare(Map storm_conf)
This method is invoked at the startup of messaging plugin 
 | 
void | 
term()
This method is invoked when a worker is unload a messaging plugin 
 | 
public void prepare(Map storm_conf)
IContextThis method is invoked at the startup of messaging plugin
public IConnection bind(String storm_id, int port)
IContextThis method establishes a server side connection
public IConnection connect(String storm_id, String host, int port)
IContextThis method establish a client side connection to a remote server implementation should return a new connection every call
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.