public final class ChannelDeploymentDescriptor extends Object implements IOReadableWritable
This class is not thread-safe in general.
| Constructor and Description |
|---|
ChannelDeploymentDescriptor()
Default constructor for serialization/deserialization.
|
ChannelDeploymentDescriptor(ChannelID outputChannelID,
ChannelID inputChannelID)
Constructs a new channel deployment descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelID |
getInputChannelID()
Returns the input channel ID attached to this deployment descriptor.
|
ChannelID |
getOutputChannelID()
Returns the output channel ID attached to this deployment descriptor.
|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public ChannelDeploymentDescriptor(ChannelID outputChannelID, ChannelID inputChannelID)
outputChannelID - the ID of the output channelinputChannelID - the ID of the input channelpublic ChannelDeploymentDescriptor()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionpublic ChannelID getOutputChannelID()
public ChannelID getInputChannelID()
Copyright © 2014 The Apache Software Foundation. All rights reserved.