- java.lang.Object
-
- swim.actor.ActorAuthenticator
-
- All Implemented Interfaces:
AuthenticatorContext,IpInterface,Log
public class ActorAuthenticator extends Object implements AuthenticatorContext
-
-
Field Summary
Fields Modifier and Type Field Description protected static intSTARTEDprotected static AtomicIntegerFieldUpdater<ActorAuthenticator>STATUS
-
Constructor Summary
Constructors Constructor Description ActorAuthenticator(String authenticatorName, Authenticator authenticator, KernelContext kernel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticatorauthenticator()StringauthenticatorName()IpServiceRefbindTcp(InetSocketAddress localAddress, IpService service, IpSettings ipSettings)IpServiceRefbindTls(InetSocketAddress localAddress, IpService service, IpSettings ipSettings)IpSocketRefconnectTcp(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings)IpSocketRefconnectTls(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings)voiddebug(Object message)Logs a debug-level message.protected voiddidStart()protected voiddidStop()voiderror(Object message)Logs an error-level message.voidfail(Object message)Logs an fail-level message.voidinfo(Object message)Logs an info-level message.IpSettingsipSettings()KernelContextkernel()Scheduleschedule()Stagestage()voidstart()voidstop()voidtrace(Object message)Logs a trace-level message.voidwarn(Object message)Logs a warn-level message.protected voidwillStart()protected voidwillStop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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 Detail
-
STARTED
protected static final int STARTED
- See Also:
- Constant Field Values
-
STATUS
protected static final AtomicIntegerFieldUpdater<ActorAuthenticator> STATUS
-
-
Constructor Detail
-
ActorAuthenticator
public ActorAuthenticator(String authenticatorName, Authenticator authenticator, KernelContext kernel)
-
-
Method Detail
-
authenticatorName
public final String authenticatorName()
-
schedule
public Schedule schedule()
- Specified by:
schedulein interfaceAuthenticatorContext
-
stage
public final Stage stage()
- Specified by:
stagein interfaceAuthenticatorContext
-
kernel
public final KernelContext kernel()
-
authenticator
public final Authenticator authenticator()
-
ipSettings
public IpSettings 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
public void trace(Object message)
Description copied from interface:LogLogs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:LogLogs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:LogLogs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:LogLogs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:LogLogs an error-level message.
-
-