diff Net/INetworkConnection.cs @ 0:3ab940a0c7a0

Initial commit
author Ivo Smits <Ivo@UCIS.nl>
date Tue, 11 Sep 2012 16:28:53 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Net/INetworkConnection.cs	Tue Sep 11 16:28:53 2012 +0200
@@ -0,0 +1,16 @@
+using System;
+using System.Net;
+
+namespace UCIS.Net {
+	public interface INetworkConnection {
+		event EventHandler Closed;
+		void Close();
+		bool Connected { get; }
+		ulong BytesWritten { get; }
+		ulong BytesRead { get; }
+		TimeSpan Age { get; }
+		EndPoint RemoteEndPoint { get; }
+		//Object Proxy { get; }
+		Object Handler { get; }
+	}
+}