Top Description Constructors Methods
ch.qos.logback.classic.net.server

pack-priv Class RemoteAppenderServerListener

extends ServerSocketListener<RemoteAppenderClient>
Class Inheritance
Imports
java.io.IOException, java.net.ServerSocket, .Socket, ch.qos.logback.core.net.server.ServerListener, .ServerSocketListener

A ServerListener for remote appenders.
Author
Carl Harris

Constructor Summary

AccessConstructor and Description
public
RemoteAppenderServerListener(ServerSocket
the ServerSocket from which to accept new client connections
serverSocket
)

Constructs a new listener.

Method Summary

Modifier and TypeMethod and Description
protected RemoteAppenderClient
createClient(String
identifier string for the client
id
,
Socket
client's socket connection
socket
)

Implements abstract ch.qos.logback.core.net.server.ServerSocketListener.createClient.

Creates the client object for a new socket connection
Inherited from ch.qos.logback.core.net.server.ServerSocketListener:
acceptClientclosetoString

Constructor Detail

RemoteAppenderServerListenerback to summary
public RemoteAppenderServerListener(ServerSocket serverSocket)

Constructs a new listener.

Parameters
serverSocket:ServerSocket

the ServerSocket from which to accept new client connections

Method Detail

createClientback to summary
protected RemoteAppenderClient createClient(String id, Socket socket) throws IOException

Implements abstract ch.qos.logback.core.net.server.ServerSocketListener.createClient.

Doc from ch.qos.logback.core.net.server.ServerSocketListener.createClient.

Creates the client object for a new socket connection

Parameters
id:String

identifier string for the client

socket:Socket

client's socket connection

Returns:RemoteAppenderClient

client object

Annotations
@Override