~ubuntu-branches/ubuntu/vivid/gloox/vivid-proposed

« back to all changes in this revision

Viewing changes to src/component.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-03-16 17:34:43 UTC
  • mfrom: (12.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20140316173443-4s177dovzaz5dm8o
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright (c) 2005-2009 by Jakob Schroeter <js@camaya.net>
 
2
  Copyright (c) 2005-2013 by Jakob Schroeter <js@camaya.net>
3
3
  This file is part of the gloox library. http://camaya.net/gloox
4
4
 
5
5
  This software is distributed under a license. The full license
25
25
  /**
26
26
   * @brief This is an implementation of a basic jabber Component.
27
27
   *
28
 
   * It's using XEP-0114 (Jabber Component Protocol) to authenticate with a server.
 
28
   * It's using @xep{0114} (Jabber Component Protocol) to authenticate with a server.
29
29
   *
30
30
   * @author Jakob Schroeter <js@camaya.net>
31
31
   * @since 0.3
36
36
      /**
37
37
       * Constructs a new Component.
38
38
       * @param ns The namespace that qualifies the stream. Either @b jabber:component:accept or
39
 
       * @b jabber:component:connect. See XEP-0114 for details.
 
39
       * @b jabber:component:connect. See @xep{0114} for details.
40
40
       * @param server The server to connect to.
41
41
       * @param component The component's hostname. FQDN.
42
42
       * @param password The component's password.
54
54
      /**
55
55
       * Disconnects from the server.
56
56
       */
57
 
      void disconnect() { ClientBase::disconnect( ConnUserDisconnected ); }
 
57
      virtual void disconnect() { ClientBase::disconnect( ConnUserDisconnected ); }
58
58
 
59
59
    protected:
60
60
      // reimplemented from ClientBase
61
 
      virtual void handleStartNode();
 
61
      virtual void handleStartNode( const Tag* start );
62
62
 
63
63
      // reimplemented from ClientBase
64
64
      virtual bool handleNormalNode( Tag* tag );