org.apache.logging.log4j.core.net
Class AbstractSocketManager
java.lang.Object
org.apache.logging.log4j.core.appender.AbstractManager
org.apache.logging.log4j.core.appender.OutputStreamManager
org.apache.logging.log4j.core.net.AbstractSocketManager
- Direct Known Subclasses:
- DatagramSocketManager, TCPSocketManager
public abstract class AbstractSocketManager
- extends OutputStreamManager
Base class for managing sockets.
Field Summary |
protected InetAddress |
address
The internet address of the host. |
protected String |
host
The name of the host. |
protected int |
port
The port on the host. |
Methods inherited from class org.apache.logging.log4j.core.appender.OutputStreamManager |
close, flush, getManager, getOutputStream, isOpen, releaseSub, setFooter, setHeader, setOutputStream, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
address
protected final InetAddress address
- The internet address of the host.
host
protected final String host
- The name of the host.
port
protected final int port
- The port on the host.
AbstractSocketManager
public AbstractSocketManager(String name,
OutputStream os,
InetAddress addr,
String host,
int port)
- The Constructor.
- Parameters:
name
- The unique name of this connection.os
- The OutputStream to manage.addr
- The internet address.host
- The target host name.port
- The target port number.
Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.