public final class SourceLogEntry extends Object
| Constructor and Description |
|---|
SourceLogEntry(String message,
InetSocketAddress sourceAddress)
Constructor for SourceLogEntry.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Getter for the field
message. |
InetSocketAddress |
getSourceAddress()
Getter for the field
sourceAddress. |
void |
setMessage(String message)
Setter for the field
message. |
void |
setSourceAddress(InetSocketAddress sourceAddress)
Setter for the field
sourceAddress. |
String |
toString() |
public SourceLogEntry(String message, InetSocketAddress sourceAddress)
Constructor for SourceLogEntry.
message - a String objectsourceAddress - a InetSocketAddress objectpublic void setMessage(String message)
Setter for the field message.
message - a String objectpublic InetSocketAddress getSourceAddress()
Getter for the field sourceAddress.
InetSocketAddress objectpublic void setSourceAddress(InetSocketAddress sourceAddress)
Setter for the field sourceAddress.
sourceAddress - a InetSocketAddress objectCopyright © 2016–2024. All rights reserved.