Fix compilation of the libasync driver stub.

This commit is contained in:
Sönke Ludwig 2017-03-10 22:56:07 +01:00
parent 1d330d6330
commit 758256c210
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -95,7 +95,7 @@ final class LibasyncEventDriverSockets : EventDriverSockets {
} }
alias listenStream = EventDriverSockets.listenStream; alias listenStream = EventDriverSockets.listenStream;
override StreamListenSocketFD listenStream(scope Address bind_address, ListenStreamOptions options, AcceptCallback on_accept) override StreamListenSocketFD listenStream(scope Address bind_address, StreamListenOptions options, AcceptCallback on_accept)
{ {
assert(false, "TODO!"); assert(false, "TODO!");
} }
@ -110,7 +110,12 @@ final class LibasyncEventDriverSockets : EventDriverSockets {
assert(false, "TODO!"); assert(false, "TODO!");
} }
override bool getLocalAddress(StreamSocketFD sock, scope RefAddress dst) override bool getLocalAddress(SocketFD sock, scope RefAddress dst)
{
assert(false, "TODO!");
}
override bool getRemoteAddress(SocketFD sock, scope RefAddress dst)
{ {
assert(false, "TODO!"); assert(false, "TODO!");
} }
@ -165,6 +170,10 @@ final class LibasyncEventDriverSockets : EventDriverSockets {
assert(false); assert(false);
} }
override void setTargetAddress(DatagramSocketFD socket, scope Address target_address)
{
assert(false);
}
override bool setBroadcast(DatagramSocketFD socket, bool enable) override bool setBroadcast(DatagramSocketFD socket, bool enable)
{ {
@ -372,6 +381,11 @@ final class LibasyncEventDriverTimers : EventDriverTimers {
{ {
assert(false, "TODO!"); assert(false, "TODO!");
} }
override bool isUnique(TimerID descriptor) const
{
assert(false, "TODO!");
}
} }
final class LibasyncEventDriverWatchers : EventDriverWatchers { final class LibasyncEventDriverWatchers : EventDriverWatchers {