public AbstractProcessor(AbstractEndpoint<S> endpoint) { this.endpoint = endpoint; asyncStateMachine = new AsyncStateMachine(this); request = new Request(); response = new Response(); response.setHook(this); request.setResponse(response); }
public CCNProcessor(int headerBufferSize, CCNEndpoint endpoint) { // TODO Abnprsuto-generated constructor stub this.endpoint = endpoint; request = new Request(); inputBuffer = new InternalCCNInputBuffer(request, headerBufferSize); response = new Response(); response.setHook(this); outputBuffer = new InternalCCNOutputBuffer(response, headerBufferSize); response.setOutputBuffer(outputBuffer); request.setResponse(response); // nan initializeFilters(); // Cause loading of HexUtils // nan HexUtils.getDec('0'); }