public class NestedBucketBuffer extends XrootdBucket
XrootdBucket_type| Constructor and Description |
|---|
NestedBucketBuffer(XrootdSecurityProtocol.BucketType type,
String protocol,
int step,
Map<XrootdSecurityProtocol.BucketType,XrootdBucket> nestedBuckets) |
| Modifier and Type | Method and Description |
|---|---|
static NestedBucketBuffer |
deserialize(XrootdSecurityProtocol.BucketType type,
org.jboss.netty.buffer.ChannelBuffer buffer)
Deserialize the NestedBucketBuffer.
|
Map<XrootdSecurityProtocol.BucketType,XrootdBucket> |
getNestedBuckets() |
String |
getProtocol() |
int |
getSize() |
int |
getStep() |
void |
serialize(org.jboss.netty.buffer.ChannelBuffer out) |
String |
toString() |
getType, writeIntpublic NestedBucketBuffer(XrootdSecurityProtocol.BucketType type, String protocol, int step, Map<XrootdSecurityProtocol.BucketType,XrootdBucket> nestedBuckets)
public static NestedBucketBuffer deserialize(XrootdSecurityProtocol.BucketType type, org.jboss.netty.buffer.ChannelBuffer buffer) throws IOException
type - The type of the bucket (usually kXRS_main)buffer - The buffer containing the nested bucket bufferIOException - Deserialization failspublic Map<XrootdSecurityProtocol.BucketType,XrootdBucket> getNestedBuckets()
public int getStep()
public String getProtocol()
public void serialize(org.jboss.netty.buffer.ChannelBuffer out)
serialize in class XrootdBucketpublic int getSize()
getSize in class XrootdBucketpublic String toString()
toString in class XrootdBucketCopyright © 2013 dCache.org. All rights reserved.