public abstract class AbstractResponseMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.netty.buffer.ChannelBuffer |
_buffer |
protected XrootdRequest |
_request |
| Constructor and Description |
|---|
AbstractResponseMessage(XrootdRequest request,
int stat,
int length) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
getBuffer()
Gives access to the internal ChannelBuffer of the response.
|
XrootdRequest |
getRequest() |
protected void |
put(byte[] field) |
protected void |
putCharSequence(String s)
Put all characters of a String as unsigned kXR_chars
|
protected void |
putSignedInt(int i) |
protected void |
putSignedLong(long l) |
protected void |
putUnsignedChar(int c) |
protected void |
putUnsignedShort(int s) |
void |
setStatus(int s) |
protected final XrootdRequest _request
protected org.jboss.netty.buffer.ChannelBuffer _buffer
public AbstractResponseMessage(XrootdRequest request, int stat, int length)
public final void setStatus(int s)
protected final void put(byte[] field)
protected final void putUnsignedChar(int c)
protected final void putUnsignedShort(int s)
protected final void putSignedInt(int i)
protected final void putSignedLong(long l)
protected final void putCharSequence(String s)
s - the String representing the char sequence to putpublic org.jboss.netty.buffer.ChannelBuffer getBuffer()
public XrootdRequest getRequest()
Copyright © 2013 dCache.org. All rights reserved.