- Apr 03, 2013
-
-
Carl Harris authored
Not sure if the original author prefers the wildcard import...
-
Carl Harris authored
SSLSocketRemote has an 'ssl' property of type SSLConfiguration.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
SocketRemote is a component that connects to a remote ServerSocketAppender and logs received events according to local configuration.
-
Carl Harris authored
Allows it to be reused for consistency in SocketRemote.
-
Carl Harris authored
-
Carl Harris authored
This class reimplements the much of the reconnect logic of the existing SocketAppenderBase but does so by exposing an API that is easy to integrate in a class that needs to handle automatic outbound connection re-establishment, and in a way that is more easily tested. This should be adopted into SocketAppenderBase after some operational experience is gained with it.
-
Carl Harris authored
Dealing with IOException on Socket.close in each finally where it appears is a pain...
-
Carl Harris authored
-
- Apr 02, 2013
-
-
Carl Harris authored
-
Carl Harris authored
SSLServerSocketAppender has an 'ssl' property of type SSLConfiguration.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
LOGBACK-822: add ServerSocketAppenderBase and SSLServerSocketAppenderBase to core
-
Carl Harris authored
These classes are all part of the implementation and should not be visible outside of the package.
-
Carl Harris authored
The ObjectInputStream reference (oos) was being closed without checking to see if it was ever created. If the ObjectInputStream constructor happened to throw an exception, we'd have an NPE here. Not likely, but worth handling properly.
-
Carl Harris authored
This was done to be consistent with the implementation in ServerSocketAppenderBase, but isn't strictly required, as all concurrent tasks for this server will be blocked in I/O calls, not thread waits.
-
Carl Harris authored
This ensures that any clients that are blocked waiting to take the next event from the queue will shut down cleanly.
-
Carl Harris authored
This will allow the created ExecutorService to be shutdown in the relevant stop method.
-
Carl Harris authored
In the existing RemoteAppenderStreamClient, an InputStream obtained from the underlying socket was passed in the constructor. While the client implementation closed the stream, it did not close the socket. Now the socket is passed to the client to ensure the socket gets closed.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
Implemented lifecyle and appender methods, and added unit tests and supporting classes.
-
Carl Harris authored
-
Ceki Gulcu authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
Previously only the queue size was exposed. Having the queue itself exposed for configuration makes it easier to write a unit test that isn't overly complicated.
-
Carl Harris authored
The stop method was iterating a copy of the collection. Since this is exactly what accept(ClientVisitor) does, stop can simply delegate to accept with a visitor that closes each visited client.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
This method will allow a user of a ServerRunner to visit each of the connected clients in order to do something with the client.
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
-
Carl Harris authored
When the ConcurrentServerRunner is moved to core, it cannot reference directly the Logger and LoggerContext objects. Now the base class delegates its logging to a subclass.
-
Carl Harris authored
The javadoc references to SocketRunner will cause an unwanted important when this interface is moved to core.
-