hunt.io.socket.Common

Undocumented in source.

Members

Aliases

AcceptCallBack
alias AcceptCallBack = void delegate(Selector loop, Socket socket)
Undocumented in source.
AcceptHandler
alias AcceptHandler = void delegate(Socket socket)
Undocumented in source.
ConnectionHandler
alias ConnectionHandler = void delegate(bool isSucceeded)
Undocumented in source.
DataReceivedHandler
alias DataReceivedHandler = void delegate(const ubyte[] data)
Undocumented in source.
DataWrittenHandler
alias DataWrittenHandler = void delegate(const ubyte[] data, size_t size)
Undocumented in source.
ReadCallBack
alias ReadCallBack = void delegate(Object obj)
Undocumented in source.
UDPReadCallBack
alias UDPReadCallBack = void delegate(in ubyte[] data, Address addr)
Undocumented in source.

Classes

AbstractChannel
class AbstractChannel
AbstractSocketChannel
class AbstractSocketChannel
BaseTypeObject
class BaseTypeObject(T)
Undocumented in source.
EventChannel
class EventChannel
LoopException
class LoopException
Undocumented in source.
Selector
class Selector

http://tutorials.jenkov.com/java-nio/selectors.html

SocketStreamBuffer
class SocketStreamBuffer
UdpDataObject
class UdpDataObject
Undocumented in source.

Enums

ChannelFlag
enum ChannelFlag
Undocumented in source.
ChannelType
enum ChannelType
Undocumented in source.

Functions

createAddress
Address createAddress(AddressFamily family, ushort port)

Interfaces

Channel
interface Channel
Stream
interface Stream
StreamWriteBuffer
interface StreamWriteBuffer

Manifest constants

SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.
SO_REUSEPORT
enum SO_REUSEPORT;
Undocumented in source.

Mixin templates

OverrideErro
mixintemplate OverrideErro()
Undocumented in source.

Structs

WriteBufferQueue
struct WriteBufferQueue

Meta