Package | Description |
---|---|
com.maverick.nio |
This package contains a generic framework for Java NIO daemons.
|
Modifier and Type | Method and Description |
---|---|
ListeningInterface |
DaemonContext.addListeningInterface(InetAddress addressToBind,
int portToBind,
int backlog,
ProtocolContext context)
Add an interface and port to the listening socket list and provide the
protocol context.
|
ListeningInterface |
DaemonContext.addListeningInterface(InetAddress addressToBind,
int portToBind,
ProtocolContext context)
Add an interface and port to the listening socket list and provide the
protocol context.
|
ListeningInterface |
DaemonContext.addListeningInterface(String addressToBind,
int portToBind,
int backlog,
ProtocolContext context)
Add an interface and port to the listening socket list and provide the
protocol context.
|
ListeningInterface |
DaemonContext.addListeningInterface(String addressToBind,
int portToBind,
ProtocolContext context)
Add an interface and port to the listening socket list and provide the
protocol context.
|
ListeningInterface[] |
DaemonContext.getListeningInterfaces()
Get the listening socket list.
|
Modifier and Type | Method and Description |
---|---|
void |
DaemonListener.interfaceCannotStart(Daemon daemon,
ListeningInterface li,
IOException ex) |
void |
DaemonAdapter.interfaceCannotStart(Daemon daemon,
ListeningInterface li,
IOException ex) |
void |
DaemonListener.interfaceCannotStop(Daemon daemon,
ListeningInterface li,
IOException e) |
void |
DaemonAdapter.interfaceCannotStop(Daemon daemon,
ListeningInterface li,
IOException e) |
void |
DaemonListener.interfaceStarted(Daemon daemon,
ListeningInterface li) |
void |
DaemonAdapter.interfaceStarted(Daemon daemon,
ListeningInterface li) |
void |
DaemonListener.interfaceStopped(Daemon daemon,
ListeningInterface li) |
void |
DaemonAdapter.interfaceStopped(Daemon daemon,
ListeningInterface li) |
void |
Daemon.removeAcceptor(ListeningInterface li) |
protected boolean |
Daemon.startListeningInterface(ListeningInterface li,
boolean propagateErrors) |
Copyright © 2024. All rights reserved.