Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
IConnection |
bind(String stormId,
int port,
IConnectionCallback cb,
Supplier<Object> newConnectionResponse)
establish a server with a binding port.
|
IConnection |
connect(String stormId,
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 stormId, int port, IConnectionCallback cb, Supplier<Object> newConnectionResponse)
establish a server with a binding port.
public IConnection connect(String stormId, String host, int port, AtomicBoolean[] remoteBpStatus)
establish a connection to a remote server.
Copyright © 2019 The Apache Software Foundation. All rights reserved.