~ubuntu-branches/ubuntu/saucy/pyzmq/saucy-proposed

« back to all changes in this revision

Viewing changes to zmq/core/socket.pxd

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-05-12 13:59:20 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20130512135920-1d2md9w425iq3sb6
Tags: 13.1.0-1
* New upstream release built with zeromq3 (Closes: #698830)
  - drop all patches
* workaround-gevent.patch: workaround issue with gevent < 1.0
* noncopysend-test.patch: avoid uninitialized values in tests
* update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
cdef class Socket:
34
34
    """A 0MQ socket."""
35
35
 
 
36
    cdef object __weakref__     # enable weakref
36
37
    cdef void *handle           # The C handle for the underlying zmq object.
37
38
    cdef public int socket_type # The 0MQ socket type - REQ,REP, etc.
38
39
    # Hold on to a reference to the context to make sure it is not garbage
39
40
    # collected until the socket it done with it.
40
41
    cdef public Context context # The zmq Context object that owns this.
41
 
    cdef public bint _closed   # bool property for a closed socket.
42
 
    cdef dict _attrs   # dict needed for *non-sockopt* get/setattr in subclasses
43
 
    cdef int _pid # the pid of the process which created me (for fork safety)
 
42
    cdef public bint _closed    # bool property for a closed socket.
 
43
    cdef int _pid               # the pid of the process which created me (for fork safety)
44
44
 
45
45
    # cpdef methods for direct-cython access:
46
46
    cpdef object send(self, object data, int flags=*, copy=*, track=*)