~ubuntu-branches/ubuntu/wily/zeromq3/wily-proposed

« back to all changes in this revision

Viewing changes to src/pub.cpp

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2014-03-16 14:02:28 UTC
  • mfrom: (1.1.6) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20140316140228-ig1sgh7czk59m9ux
Tags: 4.0.4+dfsg-1
* QA upload; orphan the package
  - Upload to unstable
* New upstream release
* Update repack.stub script
* Drop 02_fix-exported-symbols.patch and 03_fix-s390-rdtsc.patch
  (merged upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    Copyright (c) 2007-2012 iMatix Corporation
3
 
    Copyright (c) 2009-2011 250bpm s.r.o.
4
 
    Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
 
2
    Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file
5
3
 
6
4
    This file is part of 0MQ.
7
5
 
32
30
{
33
31
}
34
32
 
35
 
int zmq::pub_t::xrecv (class msg_t *, int)
 
33
int zmq::pub_t::xrecv (class msg_t *)
36
34
{
37
35
    //  Messages cannot be received from PUB socket.
38
36
    errno = ENOTSUP;
43
41
{
44
42
    return false;
45
43
}
46
 
 
47
 
zmq::pub_session_t::pub_session_t (io_thread_t *io_thread_, bool connect_,
48
 
      socket_base_t *socket_, const options_t &options_,
49
 
      const address_t *addr_) :
50
 
    xpub_session_t (io_thread_, connect_, socket_, options_, addr_)
51
 
{
52
 
}
53
 
 
54
 
zmq::pub_session_t::~pub_session_t ()
55
 
{
56
 
}
57