summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_server_windows.eo
blob: 74c4e5191741a51360a3be17b644062ecd7270b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
class Efl.Net.Server.Windows (Efl.Loop_User, Efl.Net.Server) {
    [[A Windows NamedPipe server.

      The @Efl.Net.Server.serve method will call CreateNamedPipe()
      directly, thus path will be accessed and created in that
      method. If the created socket must be subject to some special
      mode or user, change before executing that method.

      @since 1.19
    ]]

    methods {
        @property allow_remote {
            [[If server allows remote (different machine) clients.

              If this property is $true, then it will allow clients to
              connect from remote machines. If $false (default), then
              just local clients are allowed.
            ]]
            values {
                allow_remote: bool; [[If $true, server will allow remote machines to connect.]]
            }
        }
    }

    implements {
        Efl.Object.constructor;
        Efl.Object.destructor;
        Efl.Net.Server.address { get; set; }
        Efl.Net.Server.clients_count { get; set; }
        Efl.Net.Server.clients_limit { get; set; }
        Efl.Net.Server.serving { get; set; }
        Efl.Net.Server.serve; [[address parameter will have "\\.pipe\" prepended]]
        Efl.Net.Server.client_announce;
    }
}