|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbacktype.storm.messaging.netty.Context
public class Context
| Constructor Summary | |
|---|---|
Context()
|
|
| Method Summary | |
|---|---|
IConnection |
bind(String storm_id,
int port)
establish a server with a binding port |
IConnection |
connect(String storm_id,
String host,
int port)
establish a connection to a remote server |
void |
prepare(Map storm_conf)
initialization per Storm configuration |
void |
term()
terminate this context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Context()
| Method Detail |
|---|
public void prepare(Map storm_conf)
prepare in interface IContextstorm_conf - storm configuration
public IConnection bind(String storm_id,
int port)
bind in interface IContextstorm_id - topology IDport - port #
public IConnection connect(String storm_id,
String host,
int port)
connect in interface IContextstorm_id - topology IDhost - remote hostport - remote port
public void term()
term in interface IContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||