<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,7 +22,7 @@ namespace IServiceOriented.ServiceBus.Samples.Chat
              
             MessageDeliveryFormatter formatter = new MessageDeliveryFormatter(new ConverterMessageDeliveryReaderFactory(encoder, typeof(IChatService)), new ConverterMessageDeliveryWriterFactory(encoder, typeof(IChatService)));            
             _serviceBus = new ServiceBusRuntime(new DirectDeliveryCore() , new WcfManagementService());
-            _serviceBus.Listen(new ListenerEndpoint(Guid.NewGuid(), &quot;Chat Service&quot;, &quot;ChatServer&quot;, &quot;http://localhost/chatServer&quot;, typeof(IChatService), new WcfServiceHostListener()));
+            _serviceBus.AddListener(new ListenerEndpoint(Guid.NewGuid(), &quot;Chat Service&quot;, &quot;ChatServer&quot;, &quot;http://localhost/chatServer&quot;, typeof(IChatService), new WcfServiceHostListener()));
             _serviceBus.Subscribe(new SubscriptionEndpoint(Guid.NewGuid(), &quot;No subscribers&quot;, &quot;ChatClient&quot;, &quot;&quot;, typeof(IChatService), new MethodDispatcher(new UnhandledReplyHandler(_serviceBus)), new UnhandledMessageFilter(typeof(SendMessageRequest)), true));
             _serviceBus.UnhandledException+= (o, ex) =&gt;
                 {</diff>
      <filename>IServiceOriented.ServiceBus.Samples.Chat/ChatServer.cs</filename>
    </modified>
    <modified>
      <diff>@@ -46,7 +46,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
 
             ServiceBusRuntime listenerRuntime = new ServiceBusRuntime(new DirectDeliveryCore());
             var listener = new ListenerEndpoint(Guid.NewGuid(), &quot;File System Listener&quot;, null, null, typeof(IContract), new FileSystemListener(new ConverterMessageDeliveryReaderFactory(encoder, typeof(IContract)), Config.IncomingFilePath, Config.ProcessedFilePath));
-            listenerRuntime.Listen(listener);
+            listenerRuntime.AddListener(listener);
             listenerRuntime.Subscribe(new SubscriptionEndpoint(Guid.NewGuid(), &quot;Pass through&quot;, null, null, typeof(IContract), new ActionDispatcher((se, md) =&gt; { }), new PassThroughMessageFilter()));
             
             var dispatchTester = new ServiceBusTest(dispatchRuntime);
@@ -63,7 +63,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
                 });            
             });
 
-            dispatchRuntime.Unsubscribe(subscription);
+            dispatchRuntime.RemoveSubscription(subscription);
         }
 
         [Test]
@@ -79,7 +79,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
 
             ServiceBusRuntime listenerRuntime = new ServiceBusRuntime(new DirectDeliveryCore());
             var listener = new ListenerEndpoint(Guid.NewGuid(), &quot;File System Listener&quot;, null, null, typeof(IContract), new FileSystemListener(new ConverterMessageDeliveryReaderFactory(encoder, typeof(IContract)),Config.IncomingFilePath, Config.ProcessedFilePath));
-            listenerRuntime.Listen(listener);
+            listenerRuntime.AddListener(listener);
             listenerRuntime.Subscribe(new SubscriptionEndpoint(Guid.NewGuid(), &quot;Pass through&quot;, null, null, typeof(IContract), new ActionDispatcher((se, md) =&gt; { }), new PassThroughMessageFilter()));
 
             var dispatchTester = new ServiceBusTest(dispatchRuntime);
@@ -97,7 +97,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
                 });
             });
 
-            dispatchRuntime.Unsubscribe(subscription);
+            dispatchRuntime.RemoveSubscription(subscription);
         }
     }
 }</diff>
      <filename>IServiceOriented.ServiceBus.UnitTests/TestFileSystemDispatchersAndListeners.cs</filename>
    </modified>
    <modified>
      <diff>@@ -89,7 +89,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
                     throw new InvalidOperationException(&quot;Waited too long&quot;);
                 }
 
-                runtime.Unsubscribe(handled);
+                runtime.RemoveSubscription(handled);
 
                 handledCount = 0;
                 unhandledCount = 0;</diff>
      <filename>IServiceOriented.ServiceBus.UnitTests/TestMessageFilters.cs</filename>
    </modified>
    <modified>
      <diff>@@ -43,12 +43,12 @@ namespace IServiceOriented.ServiceBus.UnitTests
                     Service.Use&lt;IServiceBusManagementService&gt;(managementService =&gt;
                         {
                             ListenerEndpoint endpoint = new ListenerEndpoint(Guid.NewGuid(), &quot;name of endpoint&quot;, &quot;NamedPipeListener&quot;, &quot;net.pipe://test/someservice/&quot;, typeof(IContract), new WcfServiceHostListener());
-                            managementService.Listen(endpoint);
+                            managementService.AddListener(endpoint);
 
                             ListenerEndpoint added = managementService.ListListeners().First();
                             tester.AssertEqual(endpoint, added);
 
-                            managementService.StopListening(endpoint.Id);
+                            managementService.RemoveListener(endpoint.Id);
                             Assert.IsEmpty(managementService.ListListeners());
                         });
                 });</diff>
      <filename>IServiceOriented.ServiceBus.UnitTests/TestServiceBusManagement.cs</filename>
    </modified>
    <modified>
      <diff>@@ -63,7 +63,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
 
         public void AddTestListener()
         {
-            serviceBusRuntime.Listen(new ListenerEndpoint(Guid.NewGuid(), &quot;test&quot;, &quot;NamedPipeListener&quot;, &quot;net.pipe://localhost/servicebus/testlistener&quot;, typeof(IContract), new WcfServiceHostListener()));
+            serviceBusRuntime.AddListener(new ListenerEndpoint(Guid.NewGuid(), &quot;test&quot;, &quot;NamedPipeListener&quot;, &quot;net.pipe://localhost/servicebus/testlistener&quot;, typeof(IContract), new WcfServiceHostListener()));
         }
 
         public void AddTestSubscription(ContractImplementation ci, MessageFilter messageFilter)</diff>
      <filename>IServiceOriented.ServiceBus.UnitTests/TestServiceBusRuntime.cs</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
         public void WcfListener_Publishes_Incoming_Messages_Properly()
         {
             ServiceBusRuntime runtime = new ServiceBusRuntime(new DirectDeliveryCore());
-            runtime.Listen(new ListenerEndpoint(&quot;test&quot;, &quot;NamedPipeListener&quot;, &quot;net.pipe://localhost/remotehello&quot;, typeof(IContract), new WcfServiceHostListener()));
+            runtime.AddListener(new ListenerEndpoint(&quot;test&quot;, &quot;NamedPipeListener&quot;, &quot;net.pipe://localhost/remotehello&quot;, typeof(IContract), new WcfServiceHostListener()));
            
             string message = &quot;This is a test&quot;;
 
@@ -37,7 +37,7 @@ namespace IServiceOriented.ServiceBus.UnitTests
         public void WcfListener_Can_Listen_For_Raw_Messages()
         {
             ServiceBusRuntime runtime = new ServiceBusRuntime(new DirectDeliveryCore());
-            runtime.Listen(new ListenerEndpoint(&quot;test&quot;, &quot;PassThroughListener&quot;, &quot;net.pipe://localhost/passthrough&quot;, typeof(IPassThroughServiceContract), new WcfServiceHostListener()));
+            runtime.AddListener(new ListenerEndpoint(&quot;test&quot;, &quot;PassThroughListener&quot;, &quot;net.pipe://localhost/passthrough&quot;, typeof(IPassThroughServiceContract), new WcfServiceHostListener()));
 
             string action = &quot;http://someaction&quot;;
             string body = &quot;some body&quot;;</diff>
      <filename>IServiceOriented.ServiceBus.UnitTests/TestWcfListener.cs</filename>
    </modified>
    <modified>
      <diff>@@ -208,8 +208,8 @@ namespace IServiceOriented.ServiceBus
         public event EventHandler Started;
         public event EventHandler Stopped;        
 
-        public event EventHandler&lt;EndpointEventArgs&gt; Subscribed;
-        public event EventHandler&lt;EndpointEventArgs&gt; Unsubscribed;
+        public event EventHandler&lt;EndpointEventArgs&gt; SubscriptionAdded;
+        public event EventHandler&lt;EndpointEventArgs&gt; SubscriptionRemoved;
         
         public event EventHandler&lt;EndpointEventArgs&gt; ListenerAdded;
         public event EventHandler&lt;EndpointEventArgs&gt; ListenerRemoved;
@@ -230,7 +230,7 @@ namespace IServiceOriented.ServiceBus
 
         ReaderWriterLockedObject&lt;IEnumerable&lt;SubscriptionEndpoint&gt;, SubscriptionEndpointCollection&gt; _subscriptions = new ReaderWriterLockedObject&lt;IEnumerable&lt;SubscriptionEndpoint&gt;, SubscriptionEndpointCollection&gt;(new SubscriptionEndpointCollection(), l =&gt; l);
         
-		public void Listen(ListenerEndpoint endpoint)
+		public void AddListener(ListenerEndpoint endpoint)
 		{
             if (_disposed) throw new ObjectDisposedException(&quot;ServiceBusRuntime&quot;);
 
@@ -283,7 +283,7 @@ namespace IServiceOriented.ServiceBus
             }            
 		}
 
-        public void StopListening(Guid endpointId)
+        public void RemoveListener(Guid endpointId)
         {
             if (_disposed) throw new ObjectDisposedException(&quot;ServiceBusRuntime&quot;);
 
@@ -296,7 +296,7 @@ namespace IServiceOriented.ServiceBus
                     {
                         endpoint.Listener.StopInternal();
                     }
-                    StopListening(endpoint);
+                    RemoveListener(endpoint);
 
                     foreach (RuntimeService service in ServiceLocator.GetAllInstances&lt;RuntimeService&gt;())
                     {
@@ -316,7 +316,7 @@ namespace IServiceOriented.ServiceBus
             }
         }
 		
-		public void StopListening(ListenerEndpoint endpoint)
+		public void RemoveListener(ListenerEndpoint endpoint)
 		{
             if (_disposed) throw new ObjectDisposedException(&quot;ServiceBusRuntime&quot;);
 
@@ -515,7 +515,7 @@ namespace IServiceOriented.ServiceBus
                         service.OnSubscriptionAdded(subscription);
                     }
                 
-                    EventHandler&lt;EndpointEventArgs&gt; subscribedEvent = Subscribed;
+                    EventHandler&lt;EndpointEventArgs&gt; subscribedEvent = SubscriptionAdded;
                     if (subscribedEvent != null) subscribedEvent(this, new EndpointEventArgs(subscription));                   
 
                     ts.Complete();
@@ -535,7 +535,7 @@ namespace IServiceOriented.ServiceBus
             }
 		}
 
-        public void Unsubscribe(Guid subscriptionId)
+        public void RemoveSubscription(Guid subscriptionId)
         {
             if (_disposed) throw new ObjectDisposedException(&quot;ServiceBusRuntime&quot;);
 
@@ -551,10 +551,10 @@ namespace IServiceOriented.ServiceBus
                 throw new SubscriptionNotFoundException();
             }
 
-            Unsubscribe(endpoint);
+            RemoveSubscription(endpoint);
         }
 		
-		public void Unsubscribe(SubscriptionEndpoint subscription)
+		public void RemoveSubscription(SubscriptionEndpoint subscription)
 		{
             if (_disposed) throw new ObjectDisposedException(&quot;ServiceBusRuntime&quot;);
 
@@ -580,7 +580,7 @@ namespace IServiceOriented.ServiceBus
                         service.OnSubscriptionRemoved(subscription);
                     }
                 
-                    EventHandler&lt;EndpointEventArgs&gt; unsubscribedEvent = Unsubscribed;
+                    EventHandler&lt;EndpointEventArgs&gt; unsubscribedEvent = SubscriptionRemoved;
                     if (unsubscribedEvent != null) unsubscribedEvent(this, new EndpointEventArgs(subscription));
                     
                     ts.Complete();</diff>
      <filename>IServiceOriented.ServiceBus/ServiceBusRuntime.cs</filename>
    </modified>
    <modified>
      <diff>@@ -220,7 +220,7 @@ namespace IServiceOriented.ServiceBus.Services
                 }
                 finally
                 {
-                    runtime.Unsubscribe(subscription);
+                    runtime.RemoveSubscription(subscription);
                 }
             }
         }</diff>
      <filename>IServiceOriented.ServiceBus/Services/HeartbeatRuntimeService.cs</filename>
    </modified>
    <modified>
      <diff>@@ -45,11 +45,11 @@ namespace IServiceOriented.ServiceBus.Services
 
                 if (le != null)
                 {
-                    Runtime.StopListening(le);
+                    Runtime.RemoveListener(le);
                 }
                 else if (se != null)
                 {
-                    Runtime.Unsubscribe(se);
+                    Runtime.RemoveSubscription(se);
                 }
                 else
                 {</diff>
      <filename>IServiceOriented.ServiceBus/Services/SubscriptionPersistenceService.cs</filename>
    </modified>
    <modified>
      <diff>@@ -17,8 +17,8 @@ namespace IServiceOriented.ServiceBus.Services
     {
         public const string Subscribe = &quot;urn:SubscribeRequest&quot;;
         public const string Unsubscribe = &quot;urn:UnsubscribeRequest&quot;;
-        public const string Listen = &quot;urn:ListenRequest&quot;;
-        public const string StopListening = &quot;urn:StopListeningRequest&quot;;
+        public const string AddListener = &quot;urn:AddListener&quot;;
+        public const string RemoveListener = &quot;urn:RemoveListener&quot;;
 
         public const string ListListeners = &quot;urn:ListListeners&quot;;
         public const string ListListenersResponse = &quot;urn:ListListenersResponse&quot;;
@@ -65,12 +65,12 @@ namespace IServiceOriented.ServiceBus.Services
         [FaultContract(typeof(SubscriptionNotFoundFault))]
         void Unsubscribe([MessageParameter(Name = &quot;SubscriptionID&quot;)] Guid subscriptionId);
 
-        [OperationContract(Action = WcfManagementServiceActions.Listen)]
-        void Listen([MessageParameter(Name = &quot;ListenerEndpoint&quot;)] ListenerEndpoint endpoint);
+        [OperationContract(Action = WcfManagementServiceActions.AddListener)]
+        void AddListener([MessageParameter(Name = &quot;ListenerEndpoint&quot;)] ListenerEndpoint endpoint);
 
-        [OperationContract(Action= WcfManagementServiceActions.StopListening)]
+        [OperationContract(Action= WcfManagementServiceActions.RemoveListener)]
         [FaultContract(typeof(ListenerNotFoundFault))]
-        void StopListening([MessageParameter(Name = &quot;ListenerID&quot;)] Guid listenerId);
+        void RemoveListener([MessageParameter(Name = &quot;ListenerID&quot;)] Guid listenerId);
 
         [OperationContract(Action = WcfManagementServiceActions.ListListeners, ReplyAction = WcfManagementServiceActions.ListListenersResponse)]
         Collection&lt;ListenerEndpoint&gt; ListListeners();
@@ -102,7 +102,7 @@ namespace IServiceOriented.ServiceBus.Services
         {
             try
             {
-                Runtime.Unsubscribe(subscriptionId);
+                Runtime.RemoveSubscription(subscriptionId);
             }
             catch (SubscriptionNotFoundException)
             {
@@ -111,17 +111,17 @@ namespace IServiceOriented.ServiceBus.Services
         }
 
         [OperationBehavior]
-        public void Listen([MessageParameter(Name = &quot;Endpoint&quot;)] ListenerEndpoint endpoint)
+        public void AddListener([MessageParameter(Name = &quot;Endpoint&quot;)] ListenerEndpoint endpoint)
         {
-            Runtime.Listen(endpoint);
+            Runtime.AddListener(endpoint);
         }
 
         [OperationBehavior]
-        public void StopListening(Guid listenerId)
+        public void RemoveListener(Guid listenerId)
         {
             try
             {
-                Runtime.StopListening(listenerId);
+                Runtime.RemoveListener(listenerId);
             }
             catch (ListenerNotFoundException)
             {</diff>
      <filename>IServiceOriented.ServiceBus/Services/WcfManagementService.cs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>085f8adb24b1c06fe377e5ec214f420d161b9fa0</id>
    </parent>
  </parents>
  <author>
    <name>jezell</name>
    <email>jezell@gmail.com</email>
  </author>
  <url>http://github.com/jezell/iserviceoriented/commit/674c80de0db2300d92c22ef92bba5296a59ded00</url>
  <id>674c80de0db2300d92c22ef92bba5296a59ded00</id>
  <committed-date>2008-10-23T19:01:37-07:00</committed-date>
  <authored-date>2008-10-23T19:01:37-07:00</authored-date>
  <message>Renaming a few methods</message>
  <tree>94ac0d481613bf0ae46b51f3b15f9961374addaa</tree>
  <committer>
    <name>jezell</name>
    <email>jezell@gmail.com</email>
  </committer>
</commit>
