Package org.igniterealtime.smack.inttest
Class XmppConnectionDescriptor<C extends org.jivesoftware.smack.AbstractXMPPConnection,CC extends org.jivesoftware.smack.ConnectionConfiguration,CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?,CC>>
java.lang.Object
org.igniterealtime.smack.inttest.XmppConnectionDescriptor<C,CC,CCB>
public final class XmppConnectionDescriptor<C extends org.jivesoftware.smack.AbstractXMPPConnection,CC extends org.jivesoftware.smack.ConnectionConfiguration,CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?,CC>>
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
XmppConnectionDescriptor.Builder<C extends org.jivesoftware.smack.AbstractXMPPConnection,
CC extends org.jivesoftware.smack.ConnectionConfiguration, CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, CC>> -
Method Summary
Modifier and TypeMethodDescriptionstatic XmppConnectionDescriptor<org.jivesoftware.smack.c2s.ModularXmppClientToServerConnection,
org.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionConfiguration, org.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionConfiguration.Builder> buildWebsocketDescriptor
(String nickname, Class<? extends org.jivesoftware.smack.websocket.impl.WebSocketFactory> factoryClass) static <C extends org.jivesoftware.smack.AbstractXMPPConnection,
CC extends org.jivesoftware.smack.ConnectionConfiguration, CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, CC>>
XmppConnectionDescriptor.Builder<C,CC, CCB> static <C extends org.jivesoftware.smack.AbstractXMPPConnection,
CC extends org.jivesoftware.smack.ConnectionConfiguration, CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, CC>>
XmppConnectionDescriptor.Builder<C,CC, CCB> buildWith
(Class<C> connectionClass, Class<CC> connectionConfigurationClass, Class<CCB> connectionConfigurationBuilderClass) construct
(Configuration sinttestConfiguration) construct
(Configuration sinttestConfiguration, Collection<ConnectionConfigurationBuilderApplier> customConnectionConfigurationAppliers) construct
(Configuration sinttestConfiguration, ConnectionConfigurationBuilderApplier... customConnectionConfigurationAppliers)
-
Method Details
-
construct
public C construct(Configuration sinttestConfiguration) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException -
construct
public C construct(Configuration sinttestConfiguration, ConnectionConfigurationBuilderApplier... customConnectionConfigurationAppliers) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException -
construct
public C construct(Configuration sinttestConfiguration, Collection<ConnectionConfigurationBuilderApplier> customConnectionConfigurationAppliers) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException -
getNewBuilder
public CCB getNewBuilder() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException -
getConnectionClass
-
getNickname
-
buildWith
public static <C extends org.jivesoftware.smack.AbstractXMPPConnection,CC extends org.jivesoftware.smack.ConnectionConfiguration, XmppConnectionDescriptor.Builder<C,CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, CC>> CC, buildWithCCB> (Class<C> connectionClass, Class<CC> connectionConfigurationClass) -
buildWith
public static <C extends org.jivesoftware.smack.AbstractXMPPConnection,CC extends org.jivesoftware.smack.ConnectionConfiguration, XmppConnectionDescriptor.Builder<C,CCB extends org.jivesoftware.smack.ConnectionConfiguration.Builder<?, CC>> CC, buildWithCCB> (Class<C> connectionClass, Class<CC> connectionConfigurationClass, Class<CCB> connectionConfigurationBuilderClass) -
buildWebsocketDescriptor
public static XmppConnectionDescriptor<org.jivesoftware.smack.c2s.ModularXmppClientToServerConnection,org.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionConfiguration, buildWebsocketDescriptororg.jivesoftware.smack.c2s.ModularXmppClientToServerConnectionConfiguration.Builder> (String nickname, Class<? extends org.jivesoftware.smack.websocket.impl.WebSocketFactory> factoryClass) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
-