Uses of Interface
message.Request

Packages that use Request
architectureInterface Provides all interfaces, given by this mix' software architecture for each component ("NameOfComponent"Interface.java). 
inputOutputHandler InputOutputHandler component - Handles (mix) message-based connections (see package Message) with communication partners (clients, other mixes and proxy servers) and therefore abstracts from the physic communication channels. 
message Provides different message formats, the InputOutputHandler is capable of transmitting. 
outputStrategy Output Strategy component - Collects messages until an output criterion is fulfilled (certain number of messages collected or timeout reached) 
 

Uses of Request in architectureInterface
 

Methods in architectureInterface that return Request
 Request InputOutputHandlerInterface.getRequest()
          Must return an (unprocessed) Request, that was received from a communication partner (e. g. client or other mix), previously.
 

Methods in architectureInterface with parameters of type Request
 void OutputStrategyInterface.addRequest(Request request)
          Can be used to add a Request, that shall be put out according to the underlying output strategy.
 void InputOutputHandlerInterface.addRequest(Request request)
          Must accept the bypassed (already processed) Request and send it to the next communication partner (e. g. mix).
 void InputOutputHandlerInterface.addRequests(Request[] requests)
          Must accept the bypassed (already processed) Requests and send them to the next communication partner (e. g. mix).
 

Uses of Request in inputOutputHandler
 

Fields in inputOutputHandler with type parameters of type Request
private  java.util.concurrent.ConcurrentLinkedQueue<Request> InputOutputHandlerController.requestInputQueue
          A ConcurrentLinkedQueue, that stores Requests until they are processed.
private  java.util.concurrent.ConcurrentLinkedQueue<Request> InputOutputHandlerController.requestOutputQueue
          A ConcurrentLinkedQueue, that stores already processed Requests until they are sent (to the next mix or server).
 

Methods in inputOutputHandler that return Request
protected  Request InputOutputHandlerController.getProcessedRequest()
          Returns an (already mixed) Request from the requestOutputQueue.
 Request InputOutputHandlerController.getRequest()
          Returns a Request (previously received, unprocessed) from a communication partner (e. g. client or other mix).
 

Methods in inputOutputHandler with parameters of type Request
 void InputOutputHandlerController.addRequest(Request request)
          Adds the bypassed (already mixed) Request to the requestOutputQueue (from where it will be sent to its destination).
 void InputOutputHandlerController.addRequests(Request[] requests)
          Adds all the bypassed (already mixed) Requests to the requestOutputQueue (from where they will be sent to their destination).
protected  void InputOutputHandlerController.addUnprocessedRequest(Request request)
          Adds the bypassed (just received) Request to the requestInputQueue (from where it will be taken by component MessageProcessor via getRequest()).
private  byte[] NextMixConnectionHandler.generateInterMixHeader(Request request)
          Adds an (encrypted) header to a Request containing an identifier for the suiting channel (the identifier is unique for any neighboured mixes).
private  byte[] NextMixConnectionHandler.getPayload(Request request)
          Returns the payload of the bypassed Request.
 

Uses of Request in message
 

Classes in message that implement Request
 class BatchSizeMessage
          InternalMessage used for communication between two OutputStrategy components, located on neighbored mixes.
 class ChannelEstablishMessage
          ExternalMessage used to establish a channel, which can transmit ChannelMessages and Replyies.
 class ChannelMessage
          ExternalMessage used to transmit data on an existing channel.
 class ChannelReleaseMessage
          ExternalMessage used to release an existing channel.
 

Uses of Request in outputStrategy
 

Methods in outputStrategy with parameters of type Request
 void OutputStrategyController.addRequest(Request request)
          Can be used to add a Request, that shall be put out according to the underlying output strategy.