5#ifndef RUNTIME_BIN_IO_SERVICE_H_
6#define RUNTIME_BIN_IO_SERVICE_H_
8#if defined(DART_IO_SECURE_SOCKET_DISABLED)
9#error "io_service.h can only be included on builds with IO and SSL enabled"
19#define IO_SERVICE_REQUEST_LIST(V) \
26 V(File, ResolveSymbolicLinks, 6) \
28 V(File, Position, 8) \
29 V(File, SetPosition, 9) \
30 V(File, Truncate, 10) \
32 V(File, LengthFromPath, 12) \
33 V(File, LastAccessed, 13) \
34 V(File, SetLastAccessed, 14) \
35 V(File, LastModified, 15) \
36 V(File, SetLastModified, 16) \
38 V(File, ReadByte, 18) \
39 V(File, WriteByte, 19) \
41 V(File, ReadInto, 21) \
42 V(File, WriteFrom, 22) \
43 V(File, CreateLink, 23) \
44 V(File, DeleteLink, 24) \
45 V(File, RenameLink, 25) \
46 V(File, LinkTarget, 26) \
48 V(File, Identical, 28) \
51 V(File, CreatePipe, 31) \
52 V(Socket, Lookup, 32) \
53 V(Socket, ListInterfaces, 33) \
54 V(Socket, ReverseLookup, 34) \
55 V(Directory, Create, 35) \
56 V(Directory, Delete, 36) \
57 V(Directory, Exists, 37) \
58 V(Directory, CreateTemp, 38) \
59 V(Directory, ListStart, 39) \
60 V(Directory, ListNext, 40) \
61 V(Directory, ListStop, 41) \
62 V(Directory, Rename, 42) \
63 V(SSLFilter, ProcessFilter, 43)
65#define DECLARE_REQUEST(type, method, id) k##type##method##Request = id,
74 DISALLOW_ALLOCATION();
75 DISALLOW_IMPLICIT_CONSTRUCTORS(
IOService);
@ IO_SERVICE_REQUEST_LIST
static Dart_Port GetServicePort()
#define DECLARE_REQUEST(type, method, id)