|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DPRPMessage in edu.uiuc.cs.net.DPRPManager |
Fields in edu.uiuc.cs.net.DPRPManager declared as DPRPMessage | |
DPRPMessage |
DPRPServerSession.passedMessage
This message reference is set by the server singleton, whenever it receives an errant message from the client, that is really destined for this session. |
private DPRPMessage |
DPRPServerSession.startMessage
The message that started this session, to be removed from the server singleton's map. |
Methods in edu.uiuc.cs.net.DPRPManager that return DPRPMessage | |
private DPRPMessage |
DPRPClientSession.sendCliRequest()
Sends a DPRP_CLI_REQUEST message to the server. |
private DPRPMessage |
DPRPClientSession.sendPortAck(DPRPMessage sentMessage)
Accepts an offered port from the server. |
private DPRPMessage |
DPRPClientSession.sendPortNack(DPRPMessage msg)
Sends 'CLI_OFFER_NACK' in response to offer contained in parameter 'msg'. |
private DPRPMessage |
DPRPClientSession.sendAndRecvMessage(DPRPMessage outMessage)
Keep sending the given message until an appropriate response is received from the server. |
private DPRPMessage |
DPRPClientSession.createNewMessage()
Simply creates a new DPRPMessage, and fills it in with the parameters that we know. |
DPRPMessage |
DPRPMessage.deserialize(byte[] inBytes)
This method converts a byte array representation of a DPRPMessage into an actual DPRPMessage object. |
DPRPMessage |
DPRPLease.messageToClient(java.net.InetAddress sourceIP,
int sourcePort)
Spits out a fully-formed DPRPMessage, addressed to the client. |
private DPRPMessage |
DPRPServerSession.sendAndMaybeRecv(DPRPMessage outMessage,
byte msgShouldntRecv)
The new way to call the send and maybe receiver, which will eventually take over. |
private DPRPMessage |
DPRPServerSession.sendAndMaybeRecv(DPRPMessage outMessage,
byte msgShouldntRecv,
boolean expectingMsg)
Takes in a fully-formed DPRPMessage, and spits out a response message form the client. |
Methods in edu.uiuc.cs.net.DPRPManager with parameters of type DPRPMessage | |
DPRPLease |
ServerPortMgr.getReservation(DPRPMessage inMessage)
Retrieves a lease from the Map that corresponds to the given message. |
private DPRPMessage |
DPRPClientSession.sendPortAck(DPRPMessage sentMessage)
Accepts an offered port from the server. |
private DPRPMessage |
DPRPClientSession.sendPortNack(DPRPMessage msg)
Sends 'CLI_OFFER_NACK' in response to offer contained in parameter 'msg'. |
private DPRPMessage |
DPRPClientSession.sendAndRecvMessage(DPRPMessage outMessage)
Keep sending the given message until an appropriate response is received from the server. |
boolean |
DPRPMessage.equals(DPRPMessage cmp)
Compares two DPRPMessage objects for equality. |
boolean |
DPRPLease.compareToMsg(DPRPMessage msg)
Compares the parameters in the given message to those in this lease. |
boolean |
DPRPServerSession.sendRenewResp(DPRPMessage msg)
This method sends a "renew" response to the client. |
private DPRPMessage |
DPRPServerSession.sendAndMaybeRecv(DPRPMessage outMessage,
byte msgShouldntRecv)
The new way to call the send and maybe receiver, which will eventually take over. |
private DPRPMessage |
DPRPServerSession.sendAndMaybeRecv(DPRPMessage outMessage,
byte msgShouldntRecv,
boolean expectingMsg)
Takes in a fully-formed DPRPMessage, and spits out a response message form the client. |
void |
DPRPSocket.send(DPRPMessage inMessage)
Sends a DHCPMessage object to a predifined host. |
boolean |
DPRPSocket.receive(DPRPMessage outMessage)
Receives a datagram packet containing a DHCP Message into a DHCPMessage object. |
void |
DPRPSocket.sendError(DPRPMessage errMsg,
int errno)
A method that I crafted, that sends an error message. |
Constructors in edu.uiuc.cs.net.DPRPManager with parameters of type DPRPMessage | |
DPRPErrorMessageException(DPRPMessage im)
Constructor from a DPRPMessage. |
|
DPRPLease(DPRPMessage msg,
boolean dst)
DPRPLease constructor from DPRPMessage. |
|
DPRPServerSession(DPRPMessage inMessage,
java.lang.String threadName,
java.net.InetAddress extIP)
New session constructor. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |