using CommonLang.Net; using CommonNetwork.Net; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CommonNetwork_UDP { public class UDPSession : INetSession { public string URL { get { throw new NotImplementedException(); } } public System.Net.IPEndPoint RemoteAddress { get { throw new NotImplementedException(); } } public long TotalSentBytes { get { throw new NotImplementedException(); } } public long TotalRecvBytes { get { throw new NotImplementedException(); } } public long TotalSentPackages { get { throw new NotImplementedException(); } } public long TotalRecvPackages { get { throw new NotImplementedException(); } } public bool IsConnected { get { throw new NotImplementedException(); } } public bool Open(string url, INetPackageCodec codec, INetSessionListener listener) { throw new NotImplementedException(); } public bool Close() { throw new NotImplementedException(); } public void Send(object data) { throw new NotImplementedException(); } public void SendResponse(CommonLang.Protocol.IMessage rsponse, int requestMessageID) { throw new NotImplementedException(); } public event OnSessionOpenedHandler OnSessionOpened; public event OnSessionClosedHandler OnSessionClosed; public event OnMessageReceivedHandler OnMessageReceived; public event OnMessageSentHandler OnMessageSent; public event OnErrorHandler OnError; public void Dispose() { throw new NotImplementedException(); } public object GetAttribute(string key) { throw new NotImplementedException(); } public void SetAttribute(string key, object value) { throw new NotImplementedException(); } public void RemoveAttribute(string key) { throw new NotImplementedException(); } public bool ContainsAttribute(string key) { throw new NotImplementedException(); } public ICollection GetAttributeKeys() { throw new NotImplementedException(); } } }