403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/telepathy/server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/telepathy/server/channel.pyc
Ñò
ÈŠJc@sRddkZddkZddklZlZddklZddklZl	Z	l
Z
lZlZl
Z
lZlZlZlZlZlZddklZddklZdeefd„ƒYZdd	klZd
eefd„ƒYZddklZd
eefd„ƒYZddklZd
eefd„ƒYZddkl Z!dee!fd„ƒYZ ddk"l#Z$dee$fd„ƒYZ#ddk%l&Z'dee'fd„ƒYZ&ddk(l)Z)ddk*l+Z+ddk,l-Z.de.efd„ƒYZ-ddk/l0Z0ddk1l2Z3d e3fd!„ƒYZ2dd"k4l5Z5dS(#iÿÿÿÿN(tCONNECTION_HANDLE_TYPE_NONEt CHANNEL_TEXT_MESSAGE_TYPE_NORMAL(tInvalidArgument(tCHANNEL_INTERFACEtCHANNEL_INTERFACE_DTMFtCHANNEL_INTERFACE_GROUPtCHANNEL_INTERFACE_HOLDtCHANNEL_INTERFACE_PASSWORDtCHANNEL_TYPE_CONTACT_LISTtCHANNEL_TYPE_FILE_TRANSFERtCHANNEL_TYPE_ROOM_LISTtCHANNEL_TYPE_STREAMED_MEDIAtCHANNEL_TYPE_TEXTtMEDIA_SESSION_HANDLERtMEDIA_STREAM_HANDLER(tChannel(tDBusPropertiesRcBsÑeZd„Zd„Zd„Zd„Zd„Zeii	e
ddddƒd„ƒZeii	e
dddd	ƒd
„ƒZeii	e
ddddƒd„ƒZ
eii	e
dddd
ƒd„ƒZRS(csT|ˆ_|ˆ_ˆiiƒ}tiˆˆii|ƒ|tdˆ_|tdˆ_t	ƒˆ_
ˆii|td|tdƒˆ_t
ƒˆ_tiˆƒˆith‡fd†d6‡fd†d6‡fd	†d
6‡fd†d6‡fd
†d6‡fd†d6ƒˆihtd6td
6td6td6td6td6ƒdS(s§
        Initialise the base channel object.

        Parameters:
        connection - the parent Connection object
        props - initial channel properties
        s.ChannelTypes
.Requesteds.TargetHandleTypes
.TargetHandlecstiˆiƒƒS((tdbustStringtGetChannelType((tself(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyt<lambda>HstChannelTypecstiˆiƒddƒS(t	signaturets(RtArrayt
GetInterfaces((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRIst
InterfacescstiˆiiƒƒS((RtUInt32t_handletget_id((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRJstTargetHandlecstiˆiƒƒS((RRt_get_handle_type((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRKstTargetHandleTypecstiˆiƒƒS((RRt_get_target_id((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRLstTargetIDcsˆiS((t
_requested((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRMst	RequestedN(t_connt
_chan_managertget_channel_patht_Channelt__init__t_nameRt_typeR$tdictt_immutable_propertiesthandleRtsett_interfacesRt_implement_property_gett_add_immutables(Rt
connectiontmanagertpropstobject_path((Rs</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*/s4			
		cCs|ii|ƒdS(N(R.tupdate(RR6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR3XscCs |io|iiƒStSdS(N(Rtget_typeR(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR [s
cCs |io|iiƒSdSdS(Nt(Rtget_name(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR"as
cCsMtƒ}x=|iiƒD],\}}|i||ƒ||d|<qW|S(Nt.(R-R.titemst
_prop_getters(RR6tproptiface((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyt	get_propsgs
	$tin_signatureR:t
out_signaturecCs.|iƒ|ii|ƒ|ii|ƒdS(N(tClosedR'tremove_channelR&(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytClosens
RcCs|iS(s: Returns the interface name for the type of this channel. (R,(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRtstuucCs/|io|iiƒ|ifStdfSdS(sÓ Returns the handle type and number if this channel represents a
        communication with a particular contact, room or server-stored list, or
        zero if it is transient and defined only by its contents. iN(RR9R(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyt	GetHandleys
tascCs|iS(s‰
        Get the optional interfaces implemented by the channel.

        Returns:
        an array of the D-Bus interface names
        (R1(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRƒs(t__name__t
__module__R*R3R R"RARtservicetmethodRRFRRHR(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR-s	)				'''
(tChannelTypeContactListRNcBseZeiZd„ZRS(cCsti||||ƒdS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        N(RR*(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*“s(RJRKt_ChannelTypeContactListIfacet__doc__R*(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRNs	(tChannelTypeFileTransferRQcBseZeiZd„ZRS(cCsti||||ƒdS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        N(RR*(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*£s(RJRKt_ChannelTypeFileTransferIfaceRPR*(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRQ s	cBseZeiZd„ZRS(cCsti||||ƒdS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        N(RR*(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*³s(RJRKRRRPR*(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRQ°s	(tChannelTypeStreamedMediaRScBseZeiZd„ZRS(cCsti||||ƒdS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        N(RR*(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*Ãs(RJRKt_ChannelTypeStreamedMediaIfaceRPR*(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRSÀs	(tChannelTypeRoomListRUcBsbeZeiZd„Zeiieddddƒd„ƒZ	eii
eddƒd„ƒZRS(cCsCti||||ƒt|_h|_|i|htd6ƒdS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        tServerN(RR*tFalset_listing_roomst_roomsR3R
(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*Ós		RBR:RCtbcCs|iS(N(RX(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytGetListingRoomsàsRcCs
||_dS(N(RX(Rtlisting((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytListingRoomsäs(RJRKt_ChannelTypeRoomListIfaceRPR*RRLRMR
R[tsignalR](((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRUÐs		
'(tChannelTypeTextR`cBs°eZeiZd„Zeiieddddƒd„ƒZ	eiieddddƒd„ƒZ
eiieddddƒd	„ƒZeiied
dƒd„ƒZ
RS(
cCs/ti||||ƒh|_tg|_dS(sz
        Initialise the channel.

        Parameters:
        connection - the parent Telepathy Connection object
        N(RR*t_pending_messagesRt_message_types(RR4R5R6((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*ïs	RBR:RCtaucCs|iS(sµ
        Return an array indicating which types of message may be sent on this
        channel.

        Returns:
        an array of integer message types as defined above
        (Rb(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytGetMessageTypesûs	cCsPx.|D]&}||ijotdƒ‚qqWx|D]}|i|=q8WdS(sN
        Inform the channel that you have handled messages by displaying them to
        the user (or equivalent), so they can be removed from the pending queue.

        Parameters:
        ids - the message to acknowledge

        Possible Errors:
        InvalidArgument (a given message ID was not found, no action taken)
        s"the given message ID was not foundN(RaR(Rtidstid((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytAcknowledgePendingMessagessRZs	a(uuuuus)c
Csg}xm|iiƒD]\}|i|\}}}}}||||||f}	|i|	ƒ|o|i|=qqW|idd„ƒ|S(s5
        List the messages currently in the pending queue, and optionally
        remove then all.

        Parameters:
        clear - a boolean indicating whether the queue should be cleared

        Returns:
        an array of structs containing:
            a numeric identifier
            a unix timestamp indicating when the message was received
            an integer handle of the contact who sent the message
            an integer of the message type
            a bitwise OR of the message flags
            a string of the text of the message
        tcmpcSst|d|dƒS(i(Rh(txty((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR2s(Ratkeystappendtsort(
RtcleartmessagesRft	timestamptsenderttypetflagsttexttmessage((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytListPendingMessagess
RtuuuuuscCs |||||f|i|<dS(N(Ra(RRfRpRqRrRsRt((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytReceived5s(RJRKt_ChannelTypeTextIfaceRPR*RRLRMRRdRgRvR_Rx(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR`ìs		'''(tChannelInterfaceChatState(tChannelInterfaceDTMF(tChannelInterfaceGroupR|cBs=eZd„Zeiieddddƒd„ƒZeiieddƒd„ƒZ	eiiedddd	ƒd
„ƒZ
eiieddddƒd„ƒZeiiedddd	ƒd„ƒZeiiedddd	ƒd
„ƒZ
eiieddddƒd„ƒZeiieddƒd„ƒZRS(c	s›tiˆƒtiˆƒˆith‡fd†d6‡fd†d6‡fd†d6‡fd†d6ƒd	ˆ_tƒˆ_tƒˆ_tƒˆ_	dS(
NcstiˆiƒƒS((RRt
GetGroupFlags((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRKst
GroupFlagscstiˆiƒddƒS(Rtu(RRt
GetMembers((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRLstMemberscstiˆiƒddƒS(RR(RRtGetRemotePendingMembers((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRMstRemotePendingMemberscstiˆiƒƒS((RRt
GetSelfHandle((R(s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRNst
SelfHandlei(
t_ChannelInterfaceGroupR*RR2Rt_group_flagsR0t_memberst_local_pendingt_remote_pending(R((Rs</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*Fs

		RBR:RCRcCs|iS(N(R‡(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR}UsRRGcCs#|i|O_|i|M_dS(N(R‡(Rtaddedtremoved((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytGroupFlagsChangedYsRccCs|iS(N(Rˆ(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR€^scCsL|iiƒ}||ijp ||ijp||ijo|SdSdS(Ni(R&R„RˆR‰RŠ(Rtself_handle((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR„bscCs|iS(N(R‰(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytGetLocalPendingMemberslscCs|iS(N(RŠ(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR‚pstauauaucCs|i|i|ifS(N(RˆR‰RŠ(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyt
GetAllMemberststsauauauauuucCs„|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒ|ii|ƒdS(N(RˆR8tdifference_updateR‰RŠ(RRuR‹RŒt
local_pendingtremote_pendingtactortreason((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytMembersChangedxs(RJRKR*RRLRMRR}R_RR€R„RR‚R‘R˜(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR|Ds	'!''
'''(tChannelInterfaceHold(tChannelInterfacePasswordRšcBsYeZd„Zeiieddddƒd„ƒZeiieddƒd„ƒZ	RS(	cCs#ti|ƒd|_d|_dS(NiR:(t_ChannelInterfacePasswordR*t_password_flagst	_password(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyR*‘s
	RBR:RCRcCs|iS(N(Rœ(R((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytGetPasswordFlags–sRRGcCs#|i|O_|i|M_dS(N(Rœ(RR‹RŒ((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pytPasswordFlagsChangedšs(
RJRKR*RRLRMRRžR_RŸ(((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyRšs	'(tChannelInterfaceCallState(6Rtdbus.servicettelepathy.constantsRRttelepathy.errorsRttelepathy.interfacesRRRRRRR	R
RRR
Rttelepathy._generated.ChannelRR)ttelepathy.server.propertiesRt.telepathy._generated.Channel_Type_Contact_ListRNROt/telepathy._generated.Channel_Type_File_TransferRQRRt0telepathy._generated.Channel_Type_Streamed_MediaRSRTt+telepathy._generated.Channel_Type_Room_ListRUR^t&telepathy._generated.Channel_Type_TextR`Ryt1telepathy._generated.Channel_Interface_Chat_StateRzt+telepathy._generated.Channel_Interface_DTMFR{t,telepathy._generated.Channel_Interface_GroupR|R†t+telepathy._generated.Channel_Interface_HoldR™t/telepathy._generated.Channel_Interface_PasswordRšR›t1telepathy._generated.Channel_Interface_Call_StateR (((s</usr/lib/python2.6/site-packages/telepathy/server/channel.pyt<module>s6R
`



NC

Youez - 2016 - github.com/yon3zu
LinuXploit