java.lang.Object
swim.actor.ActorAuthenticator
- All Implemented Interfaces:
AuthenticatorContext,IpInterface,Log
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final AtomicIntegerFieldUpdater<ActorAuthenticator> -
Constructor Summary
ConstructorsConstructorDescriptionActorAuthenticator(String authenticatorName, Authenticator authenticator, KernelContext kernel) -
Method Summary
Modifier and TypeMethodDescriptionfinal Authenticatorfinal StringbindTcp(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) bindTls(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) connectTcp(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) connectTls(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) voidLogs a debug-level message.protected voiddidStart()protected voiddidStop()voidLogs an error-level message.voidLogs an fail-level message.voidLogs an info-level message.final KernelContextkernel()schedule()final Stagestage()voidstart()voidstop()voidLogs a trace-level message.voidLogs a warn-level message.protected voidprotected voidwillStop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface swim.io.IpInterface
bindTcp, bindTcp, bindTcp, bindTls, bindTls, bindTls, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls
-
Field Details
-
STARTED
protected static final int STARTED- See Also:
-
STATUS
-
-
Constructor Details
-
ActorAuthenticator
public ActorAuthenticator(String authenticatorName, Authenticator authenticator, KernelContext kernel)
-
-
Method Details
-
authenticatorName
-
schedule
- Specified by:
schedulein interfaceAuthenticatorContext
-
stage
- Specified by:
stagein interfaceAuthenticatorContext
-
kernel
-
authenticator
-
ipSettings
- Specified by:
ipSettingsin interfaceIpInterface
-
bindTcp
public IpServiceRef bindTcp(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) - Specified by:
bindTcpin interfaceIpInterface
-
bindTls
public IpServiceRef bindTls(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) - Specified by:
bindTlsin interfaceIpInterface
-
connectTcp
public IpSocketRef connectTcp(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) - Specified by:
connectTcpin interfaceIpInterface
-
connectTls
public IpSocketRef connectTls(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) - Specified by:
connectTlsin interfaceIpInterface
-
start
public void start() -
stop
public void stop() -
willStart
protected void willStart() -
didStart
protected void didStart() -
willStop
protected void willStop() -
didStop
protected void didStop() -
trace
Description copied from interface:LogLogs a trace-level message. -
debug
Description copied from interface:LogLogs a debug-level message. -
info
Description copied from interface:LogLogs an info-level message. -
warn
Description copied from interface:LogLogs a warn-level message. -
error
Description copied from interface:LogLogs an error-level message. -
fail
Description copied from interface:LogLogs an fail-level message.
-