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/service.pyc
ó
}9Rc@sńdZddlZddlmZddlmZmZddlmZddl	m
Z
mZddlm
Z
ddlmZdd	lmZdd
lmZddlmZddlmZdd
lmZdefd„ƒYZd„ZdS(s Deployment code for the monitor.i’’’’N(tfetch_async(tLandscapeServicetrun_landscape_service(tComponentPublisher(tRegistrationHandlertIdentity(tBrokerConfiguration(t
HTTPTransport(tMessageExchange(t
ExchangeStore(tPinger(tget_default_message_store(tBrokerServert
BrokerServicecBs>eZdZeZeZejZ	d„Z
d„Zd„ZRS(s"The core C{Service} of the Landscape Broker C{Application}.

    The Landscape broker service handles all the communication between the
    client and server.  When started it creates and runs all necessary
    components to exchange messages with the Landscape server.

    @cvar service_name: C{broker}

    @ivar persist_filename: Path to broker-specific persistent data.
    @ivar persist: A L{Persist} object saving and loading data from
        C{self.persist_filename}.
    @ivar message_store: A L{MessageStore} used by the C{exchanger} to
        queue outgoing messages.
    @ivar transport: An L{HTTPTransport} used by the C{exchanger} to deliver
        messages.
    @ivar identity: The L{Identity} of the Landscape client the broker runs on.
    @ivar exchanger: The L{MessageExchange} exchanges messages with the server.
    @ivar pinger: The L{Pinger} checks if the server has new messages for us.
    @ivar registration: The L{RegistrationHandler} performs the initial
        registration.

    @param config: A L{BrokerConfiguration}.
    cCsntjj|jd|jfƒ|_tt|ƒj|ƒ|j	|j
|j|jƒ|_
t|j|jƒ|_t|j|jƒ|_t|jjƒ}t|j
|j|j
|j||ƒ|_|j|j
|j|j|ƒ|_t||j|j
|j|j|jtƒ|_t|j|j
|j|j|j|jƒ|_t |j|j
|jƒ|_!dS(Ns
%s.bpickle("tostpathtjoint	data_pathtservice_nametpersist_filenametsuperR
t__init__ttransport_factorytreactorturltssl_public_keyt	transportRtpersisttmessage_store_patht
message_storeRtconfigtidentityR	texchange_store_pathRt	exchangertpinger_factorytpingerRRtregistrationRtbrokerRt	publisher(tselfRtexchange_store((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pyR.s,	cCs>tt|ƒjƒ|jjƒ|jjƒ|jjƒdS(sāStart the broker.

        Create a L{BrokerServer} listening on C{broker_socket_path} for clients
        connecting with the L{BrokerServerConnector}, and start the
        L{MessageExchange} and L{Pinger} services.
        N(RR
tstartServiceR&tstartR!R#(R'((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pyR)Gs

cCs>|jjƒ|jjƒ|jjƒtt|ƒjƒdS(sStop the broker.N(R&tstopR!R#RR
tstopService(R'((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pyR,Ss


(
t__name__t
__module__t__doc__RRR
R"RtnameRRR)R,(((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pyR
s			cCsttt|ƒdS(s7Run the application, given some command line arguments.N(RRR
(targs((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pytrun[s(R/Rtlandscape.lib.fetchRtlandscape.serviceRRt
landscape.ampRtlandscape.broker.registrationRRtlandscape.broker.configRtlandscape.broker.transportRtlandscape.broker.exchangeRtlandscape.broker.exchangestoreR	tlandscape.broker.pingR
tlandscape.broker.storeRtlandscape.broker.serverRR
R2(((s</usr/lib/python2.7/dist-packages/landscape/broker/service.pyt<module>sJ

Youez - 2016 - github.com/yon3zu
LinuXploit