403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/landscape/broker/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/landscape/broker/amp.pyc

}9Rc@sddlmZmZmZddlmZmZddlmZm	Z	ddl
mZddlm
Z
ddlmZddlmZdefd	YZd
efdYZdefd
YZdefdYZdefdYZdefdYZdZdS(i(t
maybeDeferredtexecutetsucceed(tRemoteObjecttMethodCallArgument(tComponentConnectortget_remote_methods(tBrokerServer(tBrokerClient(tMonitor(tManagertRemoteBrokercBseZdZdZRS(cs2|j}fd}|j||S(s8Call C{callable} if C{type} is an accepted message type.cs|krSdS(N((tresult(tcallabletargsttype(s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pytgot_accepted_typess(tget_accepted_message_typestaddCallback(tselfRR
Rtdeferred_typesR((RR
Rs8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pytcall_if_accepted
s
cs+|jj}|jfdS(sQCall a given handler as soon as a certain event occurs.

        @param handlers: A dictionary mapping event types to callables, where
            an event type is string (the name of the event). When the first of
            the given event types occurs in the broker reactor, the associated
            callable will be fired.
        cs|S(N((t
event_type(thandlers(s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyt<lambda> s(t
listen_eventstkeysR(RRR((Rs8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyt
call_on_events(t__name__t
__module__RR(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyRs	
tFakeRemoteBrokercBs)eZdZdZdZdZRS(s@Looks like L{RemoteBroker}, but actually talks to local objects.cCs||_||_||_dS(N(t	exchangert
message_storet
broker_server(RRR R!((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyt__init__&s		cset|j|d|t|jkrUdk	rUtrUfd}|St|dS(s~
        Pass attributes through to the real L{BrokerServer}, after checking
        that they're encodable with AMP.
        cshx#|D]}tj|stqWx/|jD]!\}}tj|s3tq3Wt||S(N(RtchecktAssertionErrort	iteritemsR(Rtkwargstargtktv(toriginal(s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pytmethod4s

N(tgetattrR!tNoneRR
tAttributeError(RtnameR+((R*s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyt__getattr__+scGs,||jjkr"t||StdS(N(R tget_accepted_typesRRR-(RRR
R((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR>s
(RRt__doc__R"R0R(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR#s		tRemoteBrokerConnectorcBseZdZeZeZRS(s6Helper to create connections with the L{BrokerServer}.(RRR2RtremoteRt	component(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR3DstRemoteClientConnectorcBseZdZeZRS(s6Helper to create connections with the L{BrokerServer}.(RRR2RR5(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR6KstRemoteMonitorConnectorcBseZdZeZRS(s1Helper to create connections with the L{Monitor}.(RRR2R	R5(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR7QstRemoteManagerConnectorcBseZdZeZRS(s4Helper for creating connections with the L{Monitor}.(RRR2R
R5(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyR8WscCs&ttttg}td|DS(sBGet a mapping of component name to connectors, for all components.css!|]}|jj|fVqdS(N(R5R/(t.0t	connector((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pys	<genexpr>fs(R3R6R7R8tdict(tall_connectors((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pytget_component_registry]s	N(ttwisted.internet.deferRRRtlandscape.lib.ampRRt
landscape.ampRRtlandscape.broker.serverRtlandscape.broker.clientRtlandscape.monitor.monitorR	tlandscape.manager.managerR
RtobjectRR3R6R7R8R=(((s8/usr/lib/python2.7/dist-packages/landscape/broker/amp.pyt<module>s!

Youez - 2016 - github.com/yon3zu
LinuXploit