12 #ifndef ROOT_TApplicationServer 13 #define ROOT_TApplicationServer 84 void Reset(
const char *dir);
119 static void SetDefaultPrefix(
const char *pfx);
TASLogHandler * fExecHandler
TRemoteObject * fWorkingDir
void HandleUrgentData()
Handle Out-Of-Band data sent by the master or client.
void GetOptions(Int_t *argc, char **argv)
Get and handle command line options.
static void ErrorHandler(Int_t level, Bool_t abort, const char *location, const char *msg)
The error handler function.
const char * GetUser() const
This class represents a WWW compatible URL.
Int_t GetProtocol() const
void Terminate(Int_t status)
Terminate the proof server.
Int_t SendCanvases()
Send any created canvas to client.
const char * GetHost() const
virtual ~TApplicationServer()
Cleanup.
The TRemoteObject class provides protocol for browsing ROOT objects from a remote ROOT session...
#define ClassDef(name, id)
virtual Bool_t Notify()
This method must be overridden to handle object notification.
Int_t BrowseKey(const char *keyname)
Read key object and send it back to client.
void Run(Bool_t retrn=kFALSE)
Main server eventloop.
Long_t ProcessLine(const char *line, Bool_t=kFALSE, Int_t *err=0)
Parse a command line received from the client, making sure that the files needed for the execution...
void SendLogFile(Int_t status=0, Int_t start=-1, Int_t end=-1)
Send log file to master.
const char * GetUser() const
Int_t BrowseFile(const char *fname)
Browse root file and send back its content; if fname is null, send the full list of files...
Bool_t ReadNotify()
Notify when something can be read from the descriptor associated with this handler.
void HandleCheckFile(TMessage *mess)
Handle file checking request.
void HandleSigPipe()
Called when the client is not alive anymore (i.e.
Int_t Setup()
Print the Remote Server logo on standard output.
void HandleSocketInput()
Handle input coming from the client or from the master server.
TApplicationServer(Int_t *argc, char **argv, FILE *flog, const char *logfile)
Main constructor.
static constexpr double s
TSocket * GetSocket() const
Int_t BrowseDirectory(const char *dirname)
Browse directory and send back its content to client.
void Reset(const char *dir)
Reset environment to be ready for execution of next command.
void ExecLogon()
Execute logon macro's.
const char * GetHost() const
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
Int_t ReceiveFile(const char *file, Bool_t bin, Long64_t size)
Receive a file, either sent by a client or a master server.