private static class StreamWrapper.WorkArea
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Integer> |
streamByName
Stream ids indexed by stream names
|
Modifier | Constructor and Description |
---|---|
private |
WorkArea() |
Modifier and Type | Method and Description |
---|---|
void |
addRemoteStream(java.lang.String name,
int id)
Stores the remote stream name-id mapping in the context.
|
void |
removeRemoteStream(java.lang.String name)
Returns the id of a particular remote stream identified by its name.
|
private java.util.Map<java.lang.String,java.lang.Integer> streamByName
public void addRemoteStream(java.lang.String name, int id)
name
- Stream name.id
- Stream id.public void removeRemoteStream(java.lang.String name)
name
- Stream name, must not be null
.