Modifier and Type | Method and Description |
---|---|
static Agent |
createAgent(String host,
String port)
Create an Agent.
|
String |
getHost()
Retrieve the host name.
|
int |
getPort()
Retrieve the port number.
|
String |
toString() |
public int getPort()
@PluginFactory public static Agent createAgent(@PluginAttribute(value="host") String host, @PluginAttribute(value="port") String port)
host
- The host name.port
- The port number.Copyright © 1999-1969 The 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.