|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.packetlogging.PacketLoggingConfiguration
net.java.sip.communicator.impl.packetlogging.PacketLoggingConfigurationImpl
public class PacketLoggingConfigurationImpl
Extends PacketLoggingConfiguration by storing and loading values from configuration service.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.packetlogging.PacketLoggingConfiguration |
|---|
PACKET_LOGGING_ENABLED_PROPERTY_NAME, PACKET_LOGGING_FILE_COUNT_PROPERTY_NAME, PACKET_LOGGING_FILE_SIZE_PROPERTY_NAME, PACKET_LOGGING_ICE4J_ENABLED_PROPERTY_NAME, PACKET_LOGGING_JABBER_ENABLED_PROPERTY_NAME, PACKET_LOGGING_RTP_ENABLED_PROPERTY_NAME, PACKET_LOGGING_SIP_ENABLED_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
PacketLoggingConfigurationImpl()
Creates new PacketLoggingConfiguration and load values from configuration service and if missing uses already defined default values. |
|
| Method Summary | |
|---|---|
void |
setGlobalLoggingEnabled(boolean enabled)
Change whether packet logging is enabled and save it in configuration. |
void |
setIce4JLoggingEnabled(boolean enabled)
Change whether packet logging for Ice4J is enabled and save it in configuration. |
void |
setJabberLoggingEnabled(boolean enabled)
Change whether packet logging for jabber protocol is enabled and save it in configuration. |
void |
setLimit(long limit)
Changes the file size limit. |
void |
setLogfileCount(int logfileCount)
Changes file count. |
void |
setRTPLoggingEnabled(boolean enabled)
Change whether packet logging for RTP is enabled and save it in configuration. |
void |
setSipLoggingEnabled(boolean enabled)
Change whether packet logging for sip protocol is enabled and save it in configuration. |
| Methods inherited from class net.java.sip.communicator.service.packetlogging.PacketLoggingConfiguration |
|---|
getLimit, getLogfileCount, isGlobalLoggingEnabled, isIce4JLoggingEnabled, isJabberLoggingEnabled, isRTPLoggingEnabled, isSipLoggingEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
PacketLoggingConfigurationImpl()
| Method Detail |
|---|
public void setGlobalLoggingEnabled(boolean enabled)
setGlobalLoggingEnabled in class PacketLoggingConfigurationenabled - true if we enable it.public void setSipLoggingEnabled(boolean enabled)
setSipLoggingEnabled in class PacketLoggingConfigurationenabled - true if we enable it.public void setJabberLoggingEnabled(boolean enabled)
setJabberLoggingEnabled in class PacketLoggingConfigurationenabled - true if we enable it.public void setRTPLoggingEnabled(boolean enabled)
setRTPLoggingEnabled in class PacketLoggingConfigurationenabled - true if we enable it.public void setIce4JLoggingEnabled(boolean enabled)
setIce4JLoggingEnabled in class PacketLoggingConfigurationenabled - true if we enable it.public void setLimit(long limit)
setLimit in class PacketLoggingConfigurationlimit - the new limit size.public void setLogfileCount(int logfileCount)
setLogfileCount in class PacketLoggingConfigurationlogfileCount - the new file count.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||