|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.subsystems.audit.syslog.SyslogServiceDescriptor
public class SyslogServiceDescriptor
Syslog service descriptor. The service described by this descriptor takes responsibility for logging system events to Syslog server.
Field Summary | |
---|---|
static int |
DEFAULT_PORT
|
Constructor Summary | |
---|---|
SyslogServiceDescriptor()
This constructor is used by serialization sybsystem and is not intended to use directly in client code. |
|
SyslogServiceDescriptor(java.lang.String host,
int port,
int facility,
java.lang.String processName)
Creates a new Syslog descriptor instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getFacilityCode()
Returns the Facility that generated the message. |
java.lang.String |
getHost()
Returns Syslog server host. |
int |
getPort()
Returns Syslog server port. |
java.lang.String |
getProcessName()
Returns the process on the device that generated the message. |
int |
hashCode()
|
void |
setFacilityCode(int value)
Sets the Facility that generated the message. |
void |
setHost(java.lang.String value)
Sets Syslog server host. |
void |
setPort(int value)
Sets Syslog server port. |
void |
setProcessName(java.lang.String value)
Sets the process on the device that generated the message. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_PORT
Constructor Detail |
---|
public SyslogServiceDescriptor()
public SyslogServiceDescriptor(java.lang.String host, int port, int facility, java.lang.String processName)
host
- the syslog server hostport
- the syslog server portfacility
- the facility of the messageprocessName
- the process nameMethod Detail |
---|
public java.lang.String getHost()
public void setHost(java.lang.String value)
value
- the hostpublic int getPort()
public void setPort(int value)
value
- the portpublic int getFacilityCode()
public void setFacilityCode(int value)
value
- the facility code. Allowed codes [0-23].public java.lang.String getProcessName()
public void setProcessName(java.lang.String value)
value
- the process name. Must not exceed 32 characters.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |