Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
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
|
public void prepare(Map storm_conf)
initialization per Storm configuration
public IConnection bind(String storm_id, int port)
establish a server with a binding port
public IConnection connect(String storm_id, String host, int port)
establish a connection to a remote server
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.