|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.net.Request
public class Request
Models a request to a server. Encapsulates the connection corresponding to the network link with the client making the request, as well as the address of the server that received the request.
| Constructor Summary | |
|---|---|
Request(Connection client,
ServerAddress localHost)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
Connection |
getConnection()
Returns the connection which is linking to the client that made the request. |
ServerAddress |
getServerAddress()
Returns the address of the server that received the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Request(Connection client,
ServerAddress localHost)
client - the Connection which consists of the
network link with the client.localHost - the ServerAddress of the server
that received the request.| Method Detail |
|---|
public ServerAddress getServerAddress()
ServerAddress.public Connection getConnection()
Connection instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||