java.lang.Object
swim.actor.ActorAuthenticator
- All Implemented Interfaces:
swim.api.auth.AuthenticatorContext,swim.io.IpInterface,swim.util.Log
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final AtomicIntegerFieldUpdater<ActorAuthenticator> -
Constructor Summary
ConstructorsConstructorDescriptionActorAuthenticator(String authenticatorName, swim.api.auth.Authenticator authenticator, swim.kernel.KernelContext kernel) -
Method Summary
Modifier and TypeMethodDescriptionfinal swim.api.auth.Authenticatorfinal Stringswim.io.IpServiceRefbindTcp(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings) swim.io.IpServiceRefbindTls(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings) swim.io.IpSocketRefconnectTcp(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings) swim.io.IpSocketRefconnectTls(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings) voidprotected voiddidStart()protected voiddidStop()voidvoidvoidswim.io.IpSettingsfinal swim.kernel.KernelContextkernel()swim.concurrent.Scheduleschedule()final swim.concurrent.Stagestage()voidstart()voidstop()voidvoidprotected 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, swim.api.auth.Authenticator authenticator, swim.kernel.KernelContext kernel)
-
-
Method Details
-
authenticatorName
-
schedule
public swim.concurrent.Schedule schedule()- Specified by:
schedulein interfaceswim.api.auth.AuthenticatorContext
-
stage
public final swim.concurrent.Stage stage()- Specified by:
stagein interfaceswim.api.auth.AuthenticatorContext
-
kernel
public final swim.kernel.KernelContext kernel() -
authenticator
public final swim.api.auth.Authenticator authenticator() -
ipSettings
public swim.io.IpSettings ipSettings()- Specified by:
ipSettingsin interfaceswim.io.IpInterface
-
bindTcp
public swim.io.IpServiceRef bindTcp(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings) - Specified by:
bindTcpin interfaceswim.io.IpInterface
-
bindTls
public swim.io.IpServiceRef bindTls(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings) - Specified by:
bindTlsin interfaceswim.io.IpInterface
-
connectTcp
public swim.io.IpSocketRef connectTcp(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings) - Specified by:
connectTcpin interfaceswim.io.IpInterface
-
connectTls
public swim.io.IpSocketRef connectTls(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings) - Specified by:
connectTlsin interfaceswim.io.IpInterface
-
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
- Specified by:
tracein interfaceswim.util.Log
-
debug
- Specified by:
debugin interfaceswim.util.Log
-
info
- Specified by:
infoin interfaceswim.util.Log
-
warn
- Specified by:
warnin interfaceswim.util.Log
-
error
- Specified by:
errorin interfaceswim.util.Log
-
fail
- Specified by:
failin interfaceswim.util.Log
-