public class Connector extends Object
| Constructor and Description |
|---|
Connector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestProcessor(RequestProcessor rp)
Adds the request processor.
|
long |
getBytesReceived()
Gets the bytes received.
|
long |
getBytesSent()
Gets the bytes sent.
|
int |
getErrorCount()
Gets the error count.
|
Integer |
getLocalPort()
Gets the local port.
|
long |
getMaxTime()
Gets the max time.
|
Integer |
getPort()
Gets the port.
|
long |
getProcessingTime()
Gets the processing time.
|
String |
getProtocol()
get current connector protocol.
|
String |
getProtocolHandler()
Gets the protocol handler.
|
int |
getRequestCount()
Gets the request count.
|
List<RequestProcessor> |
getRequestProcessors()
Gets the request processors.
|
String |
getSchema()
Gets the schema.
|
String |
getStatus()
get current connector status.
|
boolean |
isSecure()
Checks if is secure.
|
void |
setBytesReceived(long bytesReceived)
Sets the bytes received.
|
void |
setBytesSent(long bytesSent)
Sets the bytes sent.
|
void |
setErrorCount(int errorCount)
Sets the error count.
|
void |
setLocalPort(Integer localPort)
Sets the local port.
|
void |
setMaxTime(long maxTime)
Sets the max time.
|
void |
setPort(Integer port)
Sets the port.
|
void |
setProcessingTime(long processingTime)
Sets the processing time.
|
void |
setProtocol(String protocol)
Sets the protocol.
|
void |
setProtocolHandler(String protocolHandler)
Sets the protocol handler.
|
void |
setRequestCount(int requestCount)
Sets the request count.
|
void |
setRequestProcessors(List<RequestProcessor> requestProcessors)
Sets the request processors.
|
void |
setSchema(String schema)
Sets the schema.
|
void |
setSecure(boolean secure)
Sets the secure.
|
void |
setStatus(String status)
Sets the status.
|
public String getProtocolHandler()
public void setProtocolHandler(String protocolHandler)
protocolHandler - the new protocol handlerpublic long getMaxTime()
public void setMaxTime(long maxTime)
maxTime - the new max timepublic long getProcessingTime()
public void setProcessingTime(long processingTime)
processingTime - the new processing timepublic int getRequestCount()
public void setRequestCount(int requestCount)
requestCount - the new request countpublic long getBytesReceived()
public void setBytesReceived(long bytesReceived)
bytesReceived - the new bytes receivedpublic long getBytesSent()
public void setBytesSent(long bytesSent)
bytesSent - the new bytes sentpublic int getErrorCount()
public void setErrorCount(int errorCount)
errorCount - the new error countpublic List<RequestProcessor> getRequestProcessors()
public void setRequestProcessors(List<RequestProcessor> requestProcessors)
requestProcessors - the new request processorspublic void addRequestProcessor(RequestProcessor rp)
rp - the rppublic String getStatus()
public void setStatus(String status)
status - the new statuspublic String getProtocol()
public void setProtocol(String protocol)
protocol - the new protocolpublic Integer getLocalPort()
public void setLocalPort(Integer localPort)
localPort - the new local portpublic Integer getPort()
public void setPort(Integer port)
port - the new portpublic String getSchema()
public void setSchema(String schema)
schema - the new schemapublic boolean isSecure()
public void setSecure(boolean secure)
secure - the new secureCopyright © 2009–2020 psi-probe. All rights reserved.