Uses of Class
seda.sandStorm.core.BufferElement

Packages that use BufferElement
seda.sandStorm.lib.aDisk   
seda.sandStorm.lib.aSocket   
seda.sandStorm.lib.Gnutella   
seda.sandStorm.lib.http   
seda.sandStorm.lib.util   
 

Uses of BufferElement in seda.sandStorm.lib.aDisk
 

Fields in seda.sandStorm.lib.aDisk declared as BufferElement
(package private)  BufferElement AFileReadRequest.buf
           
(package private)  BufferElement AFileWriteRequest.buf
           
 

Methods in seda.sandStorm.lib.aDisk that return BufferElement
 BufferElement AFileReadRequest.getBuffer()
           
 

Methods in seda.sandStorm.lib.aDisk with parameters of type BufferElement
 void AFile.write(BufferElement buf)
          Enqueues a write request at the current file offset.
 void AFile.write(BufferElement buf, int offset)
          Enqueues a write request at the given file offset.
 void AFile.read(BufferElement buf)
          Enqueues a read request at the current file offset.
 void AFile.read(BufferElement buf, int offset)
          Enqueues a read request at the given file offset.
 

Constructors in seda.sandStorm.lib.aDisk with parameters of type BufferElement
AFileReadRequest(BufferElement buf, SinkIF compQ)
          Create a read request to fill in the given BufferElement.
AFileWriteRequest(BufferElement buf, SinkIF compQ)
          Create a write request using the given buffer and completion queue.
 

Uses of BufferElement in seda.sandStorm.lib.aSocket
 

Subclasses of BufferElement in seda.sandStorm.lib.aSocket
 class AUdpPacket
          An AUdpPacket is an extension to BufferElement that supports specifying the destination address and port for a given packet.
 

Fields in seda.sandStorm.lib.aSocket declared as BufferElement
 BufferElement ATcpWriteRequest.buf
           
 BufferElement AUdpWriteRequest.buf
           
protected  BufferElement DatagramSockState.cur_write_buf
           
 

Methods in seda.sandStorm.lib.aSocket that return BufferElement
 BufferElement ATcpInPacket.getBufferElement()
          Return the BufferElement associated with the packet data.
 

Constructors in seda.sandStorm.lib.aSocket with parameters of type BufferElement
ATcpInPacket(ATcpConnection conn, BufferElement buf)
           
ATcpInPacket(ATcpConnection conn, BufferElement buf, long seqNum)
           
ATcpWriteRequest(ATcpConnection conn, BufferElement buf)
           
AUdpWriteRequest(AUdpSocket sock, BufferElement buf)
           
 

Uses of BufferElement in seda.sandStorm.lib.Gnutella
 

Methods in seda.sandStorm.lib.Gnutella that return BufferElement
(package private)  BufferElement GnutellaPacket.getBuffer()
          Render the packet as a BufferElement which can be pushed to an aSocket connection.
 

Uses of BufferElement in seda.sandStorm.lib.http
 

Fields in seda.sandStorm.lib.http declared as BufferElement
protected  BufferElement httpResponse.combinedData
          The actual data of the response.
protected  BufferElement httpResponse.header
          The header for the response.
protected  BufferElement httpResponse.payload
          The payload for the response.
 

Methods in seda.sandStorm.lib.http that return BufferElement
 BufferElement httpResponse.getHeader()
          Returns the header for this response.
 BufferElement httpResponse.getPayload()
          Returns the payload for this response.
 BufferElement[] httpResponse.getBuffers(boolean sendHeader)
          Get an array of BufferElements corresponding to this response.
 

Methods in seda.sandStorm.lib.http with parameters of type BufferElement
 void httpResponse.setPayload(BufferElement payload)
          Used to set the payload after creating the response with an empty payload.
 

Constructors in seda.sandStorm.lib.http with parameters of type BufferElement
httpOKResponse(java.lang.String contentType, BufferElement payload)
          Create an httpOKResponse with the given payload corresponding to the given request, using the given MIME content-type.
httpOKResponse(java.lang.String contentType, BufferElement payload, int contentLength)
          Create an httpOKResponse with the given payload corresponding to the given request, using the given MIME content-type.
httpResponse(int code, java.lang.String contentType, BufferElement payload)
          Create an httpResponse with the given response code with the given payload.
httpResponse(int code, java.lang.String contentType, BufferElement payload, int contentLength)
          Create an httpResponse with the given response code with the given payload.
 

Uses of BufferElement in seda.sandStorm.lib.util
 

Methods in seda.sandStorm.lib.util that return BufferElement
static BufferElement Base64.encode(BufferElement data)
          Converts data into base64 encoded data.
static BufferElement Base64.decode(BufferElement data)
          Converts Base64 encoded data into binary data.
 

Methods in seda.sandStorm.lib.util with parameters of type BufferElement
static BufferElement Base64.encode(BufferElement data)
          Converts data into base64 encoded data.
static BufferElement Base64.decode(BufferElement data)
          Converts Base64 encoded data into binary data.