Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
TXSocketHandler Location: ROOT » PROOFX » TXSocketHandler Quick Links: ROOT Class Index Class Hierarchy Source: header file source file viewCVS header viewCVS source Sections: class description function members data members class charts class TXSocketHandler: public TFileHandler TXSocketHandler Input handler for xproofd sockets. These sockets cannot be directly monitored on their descriptor, because the reading activity goes via the reader thread. This class allows to handle this problem. Function Members (Methods) public: virtual ~TXSocketHandler() void TObject::AbstractMethod(const char* method) const void TSysEvtHandler::Activate() virtual void TSysEvtHandler::Activated() virtual void TFileHandler::Add() virtual void TSysEvtHandler::Added() virtual void TObject::AppendPad(Option_t* option = "") virtual void TObject::Browse(TBrowser* b) virtual void TQObject::ChangedBy(const char* method) static TClass* Class() virtual const char* TObject::ClassName() const virtual void TObject::Clear(Option_t* = "") virtual TObject* TObject::Clone(const char* newname = "") const virtual Int_t TObject::Compare(const TObject* obj) const Bool_t TQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot) static Bool_t TQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot) static Bool_t TQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot) virtual void TQObject::Connected(const char*) virtual void TObject::Copy(TObject& object) const void TSysEvtHandler::DeActivate() virtual void TSysEvtHandler::DeActivated() virtual void TObject::Delete(Option_t* option = "") virtual void TQObject::Destroyed() Bool_t TQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0) static Bool_t TQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0) static Bool_t TQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0) virtual void TQObject::Disconnected(const char*) virtual Int_t TObject::DistancetoPrimitive(Int_t px, Int_t py) virtual void TObject::Draw(Option_t* option = "") virtual void TObject::DrawClass() const virtual TObject* TObject::DrawClone(Option_t* option = "") const virtual void TObject::Dump() const void TQObject::Emit(const char* signal) void TQObject::Emit(const char* signal, Long_t* paramArr) void TQObject::Emit(const char* signal, const char* params) void TQObject::Emit(const char* signal, Double_t param) void TQObject::Emit(const char* signal, Long_t param) void TQObject::Emit(const char* signal, Long64_t param) void TQObject::Emit(const char* signal, Bool_t param) void TQObject::Emit(const char* signal, Char_t param) void TQObject::Emit(const char* signal, UChar_t param) void TQObject::Emit(const char* signal, Short_t param) void TQObject::Emit(const char* signal, UShort_t param) void TQObject::Emit(const char* signal, Int_t param) void TQObject::Emit(const char* signal, UInt_t param) void TQObject::Emit(const char* signal, ULong_t param) void TQObject::Emit(const char* signal, ULong64_t param) void TQObject::Emit(const char* signal, Float_t param) void TQObject::EmitVA(const char* signal, Int_t nargs) void TQObject::EmitVA(const char* signal, Int_t nargs, va_list va) virtual void TObject::Error(const char* method, const char* msgfmt) const virtual void TObject::Execute(const char* method, const char* params, Int_t* error = 0) virtual void TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) virtual void TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) virtual void TObject::Fatal(const char* method, const char* msgfmt) const virtual TObject* TObject::FindObject(const char* name) const virtual TObject* TObject::FindObject(const TObject* obj) const virtual Option_t* TObject::GetDrawOption() const static Long_t TObject::GetDtorOnly() int TFileHandler::GetFd() const virtual const char* TObject::GetIconName() const TList* TQObject::GetListOfClassSignals() const TList* TQObject::GetListOfConnections() const TList* TQObject::GetListOfSignals() const virtual const char* TObject::GetName() const virtual char* TObject::GetObjectInfo(Int_t px, Int_t py) const static Bool_t TObject::GetObjectStat() virtual Option_t* TObject::GetOption() const static TXSocketHandler* GetSocketHandler(TFileHandler* h = 0, TSocket* s = 0) virtual const char* TObject::GetTitle() const virtual UInt_t TObject::GetUniqueID() const virtual Bool_t TObject::HandleTimer(TTimer* timer) virtual Bool_t TQObject::HasConnection(const char* signal_name) const virtual ULong_t TObject::Hash() const virtual Bool_t TFileHandler::HasReadInterest() virtual Bool_t TFileHandler::HasWriteInterest() virtual void TQObject::HighPriority(const char* signal_name, const char* slot_name = 0) virtual void TObject::Info(const char* method, const char* msgfmt) const virtual Bool_t TObject::InheritsFrom(const char* classname) const virtual Bool_t TObject::InheritsFrom(const TClass* cl) const virtual void TObject::Inspect() const void TObject::InvertBit(UInt_t f) virtual TClass* IsA() const Bool_t TSysEvtHandler::IsActive() const virtual Bool_t TObject::IsEqual(const TObject* obj) const virtual Bool_t TObject::IsFolder() const Bool_t TObject::IsOnHeap() const virtual Bool_t TFileHandler::IsReadReady() const virtual Bool_t TObject::IsSortable() const virtual Bool_t TFileHandler::IsWriteReady() const Bool_t TObject::IsZombie() const static void TQObject::LoadRQ_OBJECT() virtual void TQObject::LowPriority(const char* signal_name, const char* slot_name = 0) virtual void TObject::ls(Option_t* option = "") const void TObject::MayNotUse(const char* method) const virtual void TQObject::Message(const char* msg) virtual void TSysEvtHandler::Notified() virtual Bool_t Notify() virtual Int_t TQObject::NumberOfConnections() const virtual Int_t TQObject::NumberOfSignals() const static void TObject::operator delete(void* ptr) static void TObject::operator delete(void* ptr, void* vp) static void TObject::operator delete[](void* ptr) static void TObject::operator delete[](void* ptr, void* vp) void* TObject::operator new(size_t sz) void* TObject::operator new(size_t sz, void* vp) void* TObject::operator new[](size_t sz) void* TObject::operator new[](size_t sz, void* vp) TObject& TObject::operator=(const TObject& rhs) virtual void TObject::Paint(Option_t* option = "") virtual void TObject::Pop() virtual void TObject::Print(Option_t* option = "") const virtual Int_t TObject::Read(const char* name) virtual Bool_t ReadNotify() virtual void TObject::RecursiveRemove(TObject* obj) virtual void TFileHandler::Remove() virtual void TSysEvtHandler::Removed() void TObject::ResetBit(UInt_t f) virtual void TFileHandler::ResetReadyMask() virtual void TObject::SaveAs(const char* filename = "", Option_t* option = "") const virtual void TObject::SavePrimitive(basic_ostream >& out, Option_t* option = "") void TObject::SetBit(UInt_t f) void TObject::SetBit(UInt_t f, Bool_t set) virtual void TObject::SetDrawOption(Option_t* option = "") static void TObject::SetDtorOnly(void* obj) void TFileHandler::SetFd(int fd) virtual void TFileHandler::SetInterest(Int_t mask) static void TObject::SetObjectStat(Bool_t stat) virtual void TFileHandler::SetReadReady() virtual void TObject::SetUniqueID(UInt_t uid) virtual void TFileHandler::SetWriteReady() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void TObject::SysError(const char* method, const char* msgfmt) const Bool_t TObject::TestBit(UInt_t f) const Int_t TObject::TestBits(UInt_t f) const virtual void TObject::UseCurrentStyle() virtual void TObject::Warning(const char* method, const char* msgfmt) const virtual Int_t TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) virtual Int_t TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const virtual Bool_t TFileHandler::WriteNotify() protected: static Int_t TQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot) static Bool_t TQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot) static Bool_t TQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot) virtual void TObject::DoError(int level, const char* location, const char* fmt, va_list va) const virtual void* TQObject::GetSender() virtual const char* TQObject::GetSenderClassName() const void TObject::MakeZombie() private: TXSocketHandler(TFileHandler* h, TSocket* s) void SetHandler(TFileHandler* h, TSocket* s) Data Members public: enum TFileHandler::[unnamed] { kRead kWrite }; enum TObject::EStatusBits { kCanDelete kMustCleanup kObjInCanvas kIsReferenced kHasUUID kCannotPick kNoContextMenu kInvalidObject }; enum TObject::[unnamed] { kIsOnHeap kNotDeleted kZombie kBitMask kSingleKey kOverwrite kWriteDelete }; protected: int TFileHandler::fFileNum File descriptor TList* TQObject::fListOfConnections ! list of connections to this object TList* TQObject::fListOfSignals ! list of signals from this object int TFileHandler::fMask Event interest mask, either bit 1 (read), 2 (write) or both can be set int TFileHandler::fReadyMask Readiness mask, either bit 1 (read), 2 (write) or both can be set private: TFileHandler* fHandler Handler associated to the input socket TSocket* fInputSock Input socket from client or master static TXSocketHandler* fgSocketHandler Input socket handler Class Charts Inheritance Inherited Members Includes Libraries Function documentation Bool_t Notify() Set readiness on the monitor TXSocketHandler * GetSocketHandler(TFileHandler* h = 0, TSocket* s = 0) Get an instance of the input socket handler with 'h' as handler, connected to socket 's'. Create the instance, if not already existing void SetHandler(TFileHandler* h, TSocket* s) { fHandler = h; fInputSock = s; } TXSocketHandler(TFileHandler* h, TSocket* s) { fHandler = h; fInputSock = s; } virtual ~TXSocketHandler() { } Bool_t ReadNotify() { return Notify(); } Author: G. Ganis Oct 2005 Last update: root/proofx:$Id: TXSocketHandler.h 20882 2007-11-19 11:31:26Z rdm $ Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.