AnnouncementClient.cs :  » 2.6.4-mono-.net-core » System.ServiceModel » System » ServiceModel » Discovery » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » 2.6.4 mono .net core » System.ServiceModel 
System.ServiceModel » System » ServiceModel » Discovery » AnnouncementClient.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;

namespace System.ServiceModel.Discovery{
  [MonoTODO]
  public sealed class AnnouncementClient : ICommunicationObject, IDisposable
  {
    public AnnouncementClient ()
    {
    }

    public AnnouncementClient (AnnouncementEndpoint announcementEndpoint)
    {
    }

    public AnnouncementClient (string endpointConfigurationName)
    {
    }

    public ChannelFactory ChannelFactory { get; private set; }
    public ClientCredentials ClientCredentials { get; private set; }
    public ServiceEndpoint Endpoint { get; private set; }
    public IClientChannel InnerChannel { get; private set; }
    public DiscoveryMessageSequenceGenerator MessageSequenceGenerator { get; set; }

    CommunicationState ICommunicationObject.State {
      get { return InnerChannel.State; }
    }

    public event EventHandler<AsyncCompletedEventArgs> AnnounceOfflineCompleted;
    public event EventHandler<AsyncCompletedEventArgs> AnnounceOnlineCompleted;

    event EventHandler ICommunicationObject.Closed {
      add { InnerChannel.Closed += value; }
      remove { InnerChannel.Closed -= value; }
    }
    event EventHandler ICommunicationObject.Closing {
      add { InnerChannel.Closing += value; }
      remove { InnerChannel.Closing -= value; }
    }
    event EventHandler ICommunicationObject.Faulted {
      add { InnerChannel.Faulted += value; }
      remove { InnerChannel.Faulted -= value; }
    }
    event EventHandler ICommunicationObject.Opened {
      add { InnerChannel.Opened += value; }
      remove { InnerChannel.Opened -= value; }
    }
    event EventHandler ICommunicationObject.Opening {
      add { InnerChannel.Opening += value; }
      remove { InnerChannel.Opening -= value; }
    }

    public void AnnounceOffline (EndpointDiscoveryMetadata discoveryMetadata)
    {
      throw new NotImplementedException ();
    }

    public void AnnounceOfflineAsync (EndpointDiscoveryMetadata discoveryMetadata)
    {
      throw new NotImplementedException ();
    }

    public void AnnounceOfflineAsync (EndpointDiscoveryMetadata discoveryMetadata, object userState)
    {
      throw new NotImplementedException ();
    }

    public void AnnounceOnline (EndpointDiscoveryMetadata discoveryMetadata)
    {
      throw new NotImplementedException ();
    }

    public void AnnounceOnlineAsync (EndpointDiscoveryMetadata discoveryMetadata)
    {
      throw new NotImplementedException ();
    }

    public void AnnounceOnlineAsync (EndpointDiscoveryMetadata discoveryMetadata, object userState)
    {
      throw new NotImplementedException ();
    }

    public IAsyncResult BeginAnnounceOffline (EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state)
    {
      throw new NotImplementedException ();
    }

    public IAsyncResult BeginAnnounceOnline (EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state)
    {
      throw new NotImplementedException ();
    }

    public void EndAnnounceOffline (IAsyncResult result)
    {
      throw new NotImplementedException ();
    }

    public void EndAnnounceOnline (IAsyncResult result)
    {
      throw new NotImplementedException ();
    }

    public void Close ()
    {
      throw new NotImplementedException ();
    }

    public void Open ()
    {
      throw new NotImplementedException ();
    }

    // explicit interface impl.

    void ICommunicationObject.Open ()
    {
      InnerChannel.Open ();
    }

    void ICommunicationObject.Open (TimeSpan timeout)
    {
      InnerChannel.Open (timeout);
    }

    void ICommunicationObject.Close ()
    {
      InnerChannel.Close ();
    }

    void ICommunicationObject.Close (TimeSpan timeout)
    {
      InnerChannel.Close (timeout);
    }

    IAsyncResult ICommunicationObject.BeginOpen (AsyncCallback callback, object state)
    {
      return InnerChannel.BeginOpen (callback, state);
    }

    IAsyncResult ICommunicationObject.BeginOpen (TimeSpan timeout, AsyncCallback callback, object state)
    {
      return InnerChannel.BeginOpen (timeout, callback, state);
    }

    IAsyncResult ICommunicationObject.BeginClose (AsyncCallback callback, object state)
    {
      return InnerChannel.BeginClose (callback, state);
    }

    IAsyncResult ICommunicationObject.BeginClose (TimeSpan timeout, AsyncCallback callback, object state)
    {
      return InnerChannel.BeginClose (timeout, callback, state);
    }

    void ICommunicationObject.EndOpen (IAsyncResult result)
    {
      InnerChannel.EndOpen (result);
    }

    void ICommunicationObject.EndClose (IAsyncResult result)
    {
      InnerChannel.EndClose (result);
    }

    void ICommunicationObject.Abort ()
    {
      InnerChannel.Abort ();
    }

    void IDisposable.Dispose ()
    {
      InnerChannel.Dispose ();
    }
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.