public abstract class EndpointInfo
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
boolean |
compress
Specifies whether or not compression should be used if
available when using this endpoint.
|
static long |
serialVersionUID |
int |
timeout
The timeout for the endpoint in milliseconds.
|
| Constructor and Description |
|---|
EndpointInfo() |
EndpointInfo(int timeout,
boolean compress) |
| Modifier and Type | Method and Description |
|---|---|
EndpointInfo |
clone() |
abstract boolean |
datagram()
Returns true if this endpoint is a datagram endpoint.
|
abstract boolean |
secure()
Returns true if this endpoint is a secure endpoint.
|
abstract short |
type()
Returns the type of the endpoint.
|
public int timeout
public boolean compress
public static final long serialVersionUID
public EndpointInfo()
public EndpointInfo(int timeout,
boolean compress)
public abstract short type()
public abstract boolean datagram()
public abstract boolean secure()
public EndpointInfo clone()
clone in class java.lang.Object