# Path: telepathy/constants.py
# CONNECTION_HANDLE_TYPE_NONE = HANDLE_TYPE_NONE
# CONNECTION_HANDLE_TYPE_CONTACT = HANDLE_TYPE_CONTACT
# CONNECTION_HANDLE_TYPE_ROOM = HANDLE_TYPE_ROOM
# CONNECTION_HANDLE_TYPE_LIST = HANDLE_TYPE_LIST
# CONNECTION_HANDLE_TYPE_USER_CONTACT_GROUP = HANDLE_TYPE_GROUP


from telepathy.constants import HANDLE_TYPE_NONE
        return self._id

    def __hash__(self):
        return self._id.__hash__()

    def __int__(self):
        return int(self._id)

    def __long__(self):
        return int(self._id)

    def get_type(self):
        return self._type

    def get_name(self):
        return self._name

    def __eq__(self, other):
        return (int(self) == int(other) and self.get_type() == other.get_type())

    def __ne__(self, other):
        return not self.__eq__(other)

    id = property(get_id)
    type = property(get_type)
    name = property(get_name)


class NoneHandle(Handle):
    def __init__(self):

# Path: telepathy/constants.py
# CONNECTION_HANDLE_TYPE_NONE = HANDLE_TYPE_NONE
# CONNECTION_HANDLE_TYPE_CONTACT = HANDLE_TYPE_CONTACT
# CONNECTION_HANDLE_TYPE_ROOM = HANDLE_TYPE_ROOM
# CONNECTION_HANDLE_TYPE_LIST = HANDLE_TYPE_LIST
# CONNECTION_HANDLE_TYPE_USER_CONTACT_GROUP = HANDLE_TYPE_GROUP


# Path: telepathy/server/handle.py
from telepathy.constants import HANDLE_TYPE_NONE

        return self._id

    def __hash__(self):
        return self._id.__hash__()

    def __int__(self):
        return int(self._id)

    def __long__(self):
        return int(self._id)

    def get_type(self):
        return self._type

    def get_name(self):
        return self._name

    def __eq__(self, other):
        return (int(self) == int(other) and self.get_type() == other.get_type())

    def __ne__(self, other):
        return not self.__eq__(other)

    id = property(get_id)
    type = property(get_type)
    name = property(get_name)


class NoneHandle(Handle):
    def __init__(self):

        Handle.__init__(self, 0, HANDLE_TYPE_NONE, '')