Class HttpSocketServlet.ServletSocket
java.lang.Object
com.aoapps.messaging.base.AbstractSocket
com.aoapps.messaging.http.servlet.HttpSocketServlet.ServletSocket
- All Implemented Interfaces:
Socket,Closeable,AutoCloseable
- Enclosing class:
HttpSocketServlet
Servlet socket implementation.
-
Method Summary
Modifier and TypeMethodDescriptionprotected Future<?> protected Future<?> callOnMessages(List<? extends Message> messages) voidclose()All requests for this socket must use the same server name.protected voidsendMessagesImpl(Collection<? extends Message> messages) protected voidMethods inherited from class com.aoapps.messaging.base.AbstractSocket
addSocketListener, getCloseTime, getConnectRemoteSocketAddress, getConnectTime, getId, getRemoteSocketAddress, getSocketContext, isClosed, removeSocketListener, sendMessage, sendMessages, setRemoteSocketAddress, start, toString
-
Method Details
-
getServerName
All requests for this socket must use the same server name. -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceSocket- Overrides:
closein classAbstractSocket- Throws:
IOException
-
getProtocol
- Specified by:
getProtocolin interfaceSocket- Specified by:
getProtocolin classAbstractSocket
-
callOnMessages
- Overrides:
callOnMessagesin classAbstractSocket- Throws:
IllegalStateException
-
callOnError
- Overrides:
callOnErrorin classAbstractSocket- Throws:
IllegalStateException
-
startImpl
- Specified by:
startImplin classAbstractSocket
-
sendMessagesImpl
- Specified by:
sendMessagesImplin classAbstractSocket
-
