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,
AtomicBoolean[] remoteBpStatus)
establish a connection to a remote server
|
void |
prepare(Map<String,Object> topoConf)
initialization per Storm configuration
|
void |
term()
terminate this context
|
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, AtomicBoolean[] remoteBpStatus)
establish a connection to a remote server
Copyright © 2019 The Apache Software Foundation. All rights reserved.