public void SendSimpleNotification(ISimpleNotification simpleNotification) { this.connection.Connect(); this.connection.Write(simpleNotification.ToByteArray()); this.connection.Disconnect(); }