view Net/INetworkConnection.cs @ 28:3bfb3ee64362

Make XmlSocket useable stand-alone
author Ivo Smits <Ivo@UCIS.nl>
date Wed, 17 Apr 2013 16:11:09 +0200
parents 3ab940a0c7a0
children
line wrap: on
line source

???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; }
	}
}