Mono.Zeroconf – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 // Copyright 2006 Alp Toker <alp@atoker.com>
2 // This software is made available under the MIT License
3 // See COPYING for details
4  
5 using System;
6 using System.IO;
7 using System.Net;
8 using System.Net.Sockets;
9  
10 namespace NDesk.DBus
11 {
12 //TODO: complete this class
13 class Server
14 {
15 public void Listen (string address)
16 {
17 this.address = address;
18 }
19  
20 public void Disconnect ()
21 {
22 }
23  
24 public bool IsConnected
25 {
26 get {
27 return true;
28 }
29 }
30  
31 protected string address;
32 public string Address
33 {
34 get {
35 return address;
36 }
37 }
38  
39 //TODO: new connection event/virtual method
40 }
41 }