Package org.jivesoftware.smack.debugger
Class ConsoleDebugger.Factory
- java.lang.Object
-
- org.jivesoftware.smack.debugger.ConsoleDebugger.Factory
-
- All Implemented Interfaces:
SmackDebuggerFactory
- Enclosing class:
- ConsoleDebugger
public static final class ConsoleDebugger.Factory extends java.lang.Object implements SmackDebuggerFactory
-
-
Field Summary
Fields Modifier and Type Field Description static SmackDebuggerFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmackDebugger
create(XMPPConnection connection)
Initialize the new SmackDebugger instance.
-
-
-
Field Detail
-
INSTANCE
public static final SmackDebuggerFactory INSTANCE
-
-
Method Detail
-
create
public SmackDebugger create(XMPPConnection connection) throws java.lang.IllegalArgumentException
Description copied from interface:SmackDebuggerFactory
Initialize the new SmackDebugger instance.- Specified by:
create
in interfaceSmackDebuggerFactory
- Parameters:
connection
- the XMPP connection this debugger is going to get attached to.- Returns:
- SmackDebugger.
- Throws:
java.lang.IllegalArgumentException
- if the SmackDebugger can't be loaded.
-
-