|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.appender.AbstractManager
org.apache.logging.log4j.core.appender.OutputStreamManager
org.apache.logging.log4j.core.net.AbstractSocketManager
public abstract class AbstractSocketManager
Abstract 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. |
Fields inherited from class org.apache.logging.log4j.core.appender.AbstractManager |
---|
count, LOGGER |
Constructor Summary | |
---|---|
AbstractSocketManager(String name,
OutputStream os,
InetAddress addr,
String host,
int port,
Layout<? extends Serializable> layout)
The Constructor. |
Method Summary | |
---|---|
Map<String,String> |
getContentFormat()
AbstractSocketManager's content format is specified by: Key: "port" Value: provided "port" param Key: "address" Value: provided "address" param |
Methods inherited from class org.apache.logging.log4j.core.appender.OutputStreamManager |
---|
close, flush, getManager, getOutputStream, isOpen, releaseSub, setOutputStream, write, write |
Methods inherited from class org.apache.logging.log4j.core.appender.AbstractManager |
---|
getCount, getName, hasManager, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final InetAddress address
protected final String host
protected final int port
Constructor Detail |
---|
public AbstractSocketManager(String name, OutputStream os, InetAddress addr, String host, int port, Layout<? extends Serializable> layout)
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.Method Detail |
---|
public Map<String,String> getContentFormat()
getContentFormat
in class AbstractManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.