public class ListeningInterface
extends java.lang.Object
| Constructor and Description |
|---|
ListeningInterface(java.net.InetSocketAddress addressToBind,
ProtocolContextFactory<?> context) |
ListeningInterface(java.net.InetSocketAddress addressToBind,
ProtocolContextFactory<?> context,
int backlog) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActualPort() |
java.net.InetSocketAddress |
getAddressToBind() |
int |
getBacklog() |
ProtocolContextFactory<?> |
getContextFactory() |
boolean |
getSocketOptionReuseAddress() |
boolean |
isIPV6Interface() |
void |
setActualPort(int actualPort) |
void |
setBacklog(int backlog) |
void |
setSocketOptionReuseAddress(boolean reuseAddress) |
public ListeningInterface(java.net.InetSocketAddress addressToBind,
ProtocolContextFactory<?> context)
public ListeningInterface(java.net.InetSocketAddress addressToBind,
ProtocolContextFactory<?> context,
int backlog)
public int getActualPort()
public void setActualPort(int actualPort)
public java.net.InetSocketAddress getAddressToBind()
public ProtocolContextFactory<?> getContextFactory()
public boolean isIPV6Interface()
public int getBacklog()
public void setBacklog(int backlog)
public boolean getSocketOptionReuseAddress()
public void setSocketOptionReuseAddress(boolean reuseAddress)
Copyright © 2021. All rights reserved.