public abstract class SocketEndpoint extends AbstractEndpoint
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CHANNEL_TCP |
static String |
CHANNEL_UDP |
console, containerBRICK_ENDPOINT| 构造器和说明 |
|---|
SocketEndpoint() |
SocketEndpoint(String host,
int port) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
close()
关闭
|
InetSocketAddress |
getAddress() |
String |
getChannel() |
NetworkInterface |
getNetworkInterface() |
SocketProtocol |
getProtocol() |
protected InetSocketAddress |
newAddress(String host,
int port) |
protected void |
open()
打开
|
destroy, getHandler, getParameter, getParameters, getProtocolName, getStatus, initial, isActive, name, operatepublic SocketEndpoint()
public SocketEndpoint(String host, int port)
public String getChannel()
public NetworkInterface getNetworkInterface()
public InetSocketAddress getAddress()
public SocketProtocol getProtocol()
getProtocol 在类中 AbstractEndpointprotected InetSocketAddress newAddress(String host, int port)
protected void open()
AbstractEndpointopen 在类中 AbstractEndpointprotected void close()
AbstractEndpointclose 在类中 AbstractEndpointCopyright © 2024. All rights reserved.