public class XMPPAcceptor
extends com.streamscape.sef.network.mf.admin.AbstractAcceptor
Title: Service Event Fabric Core
Description: Defines an XMPP Acceptor.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
XMPPAcceptor() |
XMPPAcceptor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
abortOnFailure()
Checks if the current node should be aborted in case of a failure during initialization or start-up of the acceptor.
|
boolean |
anonymousRegistration()
Checks if the acceptor enables an anonymous registration of new users.
|
boolean |
autoStart()
Checks if the acceptor should be automatically started by
AcceptorManager . |
XMPPAcceptorConfiguration |
getConfiguration() |
java.lang.String |
getDescription()
Returns a description of the acceptor.
|
java.lang.String |
getName()
Returns a name of the acceptor.
|
LinkProtocol |
getProtocol()
Returns a protocol of the acceptor.
|
java.lang.String |
getURL()
Returns a URL of the acceptor.
|
void |
init(RuntimeContext context)
Creates an XMPP server instance and initializes it by:
-
XMPPAcceptorConfiguration
- XMPPSessionsManager
- XMPPEntityStore
- XMPPSessionProcessor |
void |
setAbortOnFailure(boolean abortOnFailure)
Sets a parameter specifying if the current node should be aborted in case of a failure during initialization or start-up of the acceptor.
|
void |
setAnonymousRegistration(boolean anonymousRegistration)
Sets a parameter specifying if the acceptor enables an anonymous registration of new users.
|
void |
setAutoStart(boolean autoStart)
Sets a parameter specifying if the acceptor should be automatically started by
AcceptorManager . |
void |
setDescription(java.lang.String description)
Sets the specified description of the acceptor.
|
void |
setEnableSSL(boolean enableSSL)
Checks if the acceptor is started.
|
void |
setURL(java.lang.String url)
Sets the specified URL of the acceptor.
|
destroy, enableSSL, getAddress, getError, isStarted, isValid, reset, start, stop
clone, getSerialVersionUID
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSerialVersionUID
clone
public XMPPAcceptor()
public XMPPAcceptor(java.lang.String name)
public LinkProtocol getProtocol()
Acceptor
public java.lang.String getName()
Acceptor
getName
in interface NamedObject
getName
in interface Acceptor
getName
in class com.streamscape.sef.dispatcher.AcceptorHelper
public java.lang.String getDescription()
Acceptor
public void setDescription(java.lang.String description)
Acceptor
description
- the description to be set.public java.lang.String getURL()
Acceptor
public void setURL(java.lang.String url)
Acceptor
public boolean autoStart()
Acceptor
AcceptorManager
.true if the acceptor will be auto started, false
otherwise.
public void setAutoStart(boolean autoStart)
Acceptor
AcceptorManager
.autoStart
- the parameter to be set.public boolean abortOnFailure()
Acceptor
true if the current node should be aborted on the acceptor's failure, false
otherwise.
public void setAbortOnFailure(boolean abortOnFailure)
Acceptor
abortOnFailure
- the parameter to be set.public boolean anonymousRegistration()
Acceptor
true if the acceptor enables an anonymous registration, false
otherwise.
public void setAnonymousRegistration(boolean anonymousRegistration)
Acceptor
anonymousRegistration
- true
if the acceptor enables an anonymous registration, false
otherwise.public void setEnableSSL(boolean enableSSL)
Acceptor
setEnableSSL
in interface Acceptor
setEnableSSL
in class com.streamscape.sef.network.mf.admin.AbstractAcceptor
public XMPPAcceptorConfiguration getConfiguration()
public void init(RuntimeContext context) throws java.lang.Exception
XMPPAcceptorConfiguration
- XMPPSessionsManager
- XMPPEntityStore
- XMPPSessionProcessor
init
in interface ConfigurationObject
init
in class com.streamscape.sef.network.mf.admin.AbstractAcceptor
context
- RuntimeContextFabricException
java.lang.Exception
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.