java.lang.Object
swim.api.service.AbstractService
- All Implemented Interfaces:
Service,IpInterface,Log
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindTcp(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) bindTls(InetSocketAddress localAddress, IpService service, IpSettings ipSettings) voidclose()connectTcp(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) connectTls(InetSocketAddress remoteAddress, IpSocket socket, IpSettings ipSettings) voidLogs a debug-level message.voiddidClose()voidvoiddidStart()voiddidStop()voidLogs an error-level message.voidLogs an fail-level message.voidLogs an info-level message.schedule()stage()voidLogs a trace-level message.voidLogs a warn-level message.voidvoidvoidwillStop()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
-
context
-
-
Constructor Details
-
AbstractService
-
AbstractService
public AbstractService()
-
-
Method Details
-
serviceContext
- Specified by:
serviceContextin interfaceService
-
schedule
-
stage
-
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
-
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. -
close
public void close() -
willStart
public void willStart() -
didStart
public void didStart() -
willStop
public void willStop() -
didStop
public void didStop() -
willClose
public void willClose() -
didClose
public void didClose() -
didFail
-