public final class GateDeploymentDescriptor extends Object implements IOReadableWritable
This class is not thread-safe in general.
| Constructor and Description |
|---|
GateDeploymentDescriptor()
Default constructor for serialization/deserialization.
|
GateDeploymentDescriptor(GateID gateID,
ChannelType channelType,
List<ChannelDeploymentDescriptor> channels)
Constructs a new gate deployment descriptor
|
| Modifier and Type | Method and Description |
|---|---|
ChannelDeploymentDescriptor |
getChannelDescriptor(int index) |
ChannelType |
getChannelType()
Returns the channel type of the gate.
|
GateID |
getGateID()
Returns the ID of the gate.
|
int |
getNumberOfChannelDescriptors()
Returns the number of channel deployment descriptors attached to this gate descriptor.
|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public GateDeploymentDescriptor(GateID gateID, ChannelType channelType, List<ChannelDeploymentDescriptor> channels)
gateID - the ID of the gatechannelType - the channel type of the gatecompressionLevel - the compression level of the gatechannels - the list of channel deployment descriptors attached to this gatepublic GateDeploymentDescriptor()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionpublic GateID getGateID()
public ChannelType getChannelType()
public int getNumberOfChannelDescriptors()
public ChannelDeploymentDescriptor getChannelDescriptor(int index)
Copyright © 2014 The Apache Software Foundation. All rights reserved.