|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.services.messages.ServiceMessage
public class ServiceMessage
Abstract base class for ecologylab.services DCF request and response messages.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
|---|
ElementState.ClassToCollectionMap, ElementState.DeclarationStyle, ElementState.xml_attribute, ElementState.xml_class, ElementState.xml_classes, ElementState.xml_collection, ElementState.xml_leaf, ElementState.xml_map, ElementState.xml_nested, ElementState.xml_tag |
| Field Summary | |
|---|---|
protected java.net.InetAddress |
sender
Contains the IP address of the host that sent this message. |
protected long |
timeStamp
|
protected long |
uid
Deprecated. |
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, ESTIMATE_CHARS_PER_FIELD, FLOATING_PRECISION_OFF, MARSHALLING_PARAMS, NORMAL, UTF16, UTF16_LE, UTF8, XML_FILE_HEADER |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
ServiceMessage()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ServiceMessage otherRequest)
Deprecated. |
java.net.InetAddress |
getSender()
|
long |
getTimeStamp()
|
long |
getUid()
Deprecated. |
void |
setSender(java.net.InetAddress sender)
This method should be called by a server when it translates this message. |
void |
setUid(long uid)
Deprecated. |
void |
stampTime()
Sets timeStamp to equal the current system time in milliseconds. |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long timeStamp
@Deprecated protected long uid
protected java.net.InetAddress sender
| Constructor Detail |
|---|
public ServiceMessage()
| Method Detail |
|---|
public void stampTime()
public long getTimeStamp()
@Deprecated public void setUid(long uid)
@Deprecated public long getUid()
public java.net.InetAddress getSender()
public void setSender(java.net.InetAddress sender)
sender - the sender's IP address to set@Deprecated public int compareTo(ServiceMessage otherRequest)
compareTo in interface java.lang.Comparable<ServiceMessage>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||