public class RequestQueueNode
extends java.lang.Object
RequestQueue
.RequestQueue
Modifier and Type | Field and Description |
---|---|
protected HTTPRequest |
httpRequest
Is the HTTP request sent by the client.
|
protected java.net.Socket |
socket
Contains the client socket.
|
Constructor and Description |
---|
RequestQueueNode(java.net.Socket socket,
HTTPRequest httpRequest)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HTTPRequest |
getHTTPRequest()
Returns the
httpRequest attribute. |
java.net.Socket |
getSocket()
Returns the client socket.
|
void |
list(java.io.PrintStream out)
Prints this Request queue node fields out to the specified output
stream.
|
void |
reset()
Set attributes to its initials values.
|
java.lang.String |
toString() |
protected java.net.Socket socket
protected HTTPRequest httpRequest
public RequestQueueNode(java.net.Socket socket, HTTPRequest httpRequest)
socket
- definition in socket
.httpRequest
- definition in httpRequest
.public java.net.Socket getSocket()
public HTTPRequest getHTTPRequest()
httpRequest
attribute.httpRequest
attribute.public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)