|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.OutputServer
public class OutputServer
The OutputServer
class represents an output server, providing access
to data-forwarding configurations.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
OutputServerAllConnections |
allConnections()
Returns an object that contains all current connections to the output server. |
java.lang.String |
getDestHost()
Returns the DNS name of the destination server for this connection. |
java.lang.String |
getDestIp()
Returns the IP address of the destination server for this connection. |
int |
getDestPort()
Return the port on which the destination server is listening. |
java.lang.String |
getMethod()
Returns the data distribution method used when two or more servers exist in the same forwarder group. |
int |
getSourcePort()
Returns the port on the destination server where data is forwarded. |
java.lang.String |
getStatus()
Returns the server connection status (usually "connect_done", "connect_fail", or "connect_try"). |
void |
setMethod(java.lang.String method)
Sets the type of data distribution method when two or more servers exist in the same forwarder group. |
void |
setSslAltNameToCheck(java.lang.String sslAltNameToCheck)
Sets the alternate name to match in the remote server's SSL certificate. |
void |
setSslCertPath(java.lang.String sslCertPath)
Sets the path to the client certificate. |
void |
setSslCipher(java.lang.String sslCipher)
Sets the SSL cipher in the form: ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM |
void |
setSslCommonNameToCheck(java.lang.String sslCommonNameToCheck)
Sets the name against which to check the common name of the server's certificate. |
void |
setSslPassword(java.lang.String sslPassword)
Sets the password associated with the PEM file store. |
void |
setSslRootCAPath(java.lang.String sslRootCAPath)
Sets the path to the root certificate authority file. |
void |
setSslVerifyServerCert(boolean sslVerifyServerCert)
Sets whether the server being connected to is authenticated. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.lang.String getDestHost()
public java.lang.String getDestIp()
public int getDestPort()
public java.lang.String getMethod()
public int getSourcePort()
public java.lang.String getStatus()
public void setMethod(java.lang.String method)
method
- The data distribution method.public void setSslAltNameToCheck(java.lang.String sslAltNameToCheck)
sslAltNameToCheck
- The alternate name.public void setSslCertPath(java.lang.String sslCertPath)
sslCertPath
- The path to the client certificate.public void setSslCipher(java.lang.String sslCipher)
ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
sslCipher
- The SSL cipher.public void setSslCommonNameToCheck(java.lang.String sslCommonNameToCheck)
SslVerifyServerCert
is true
.
sslCommonNameToCheck
- The SSL common name.setSslVerifyServerCert(boolean)
public void setSslPassword(java.lang.String sslPassword)
sslPassword
- The password.public void setSslRootCAPath(java.lang.String sslRootCAPath)
sslRootCAPath
- The path to the root certificate authority file.public void setSslVerifyServerCert(boolean sslVerifyServerCert)
sslVerifyServerCert
- true
to determine whether the server
is authenticated, false
if not.public OutputServerAllConnections allConnections()
OutputServerAllConnections
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |