InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | List of all members
RemoteUser Class Reference
Inheritance diagram for RemoteUser:
User Extensible classbase

Public Member Functions

 RemoteUser (const std::string &uid, const std::string &srv)
virtual void SendText (const std::string &line)
- Public Member Functions inherited from User
const char * GetIPString ()
irc::sockets::cidr_mask GetCIDRMask ()
virtual bool SetClientIP (const char *sip, bool recheck_eline=true)
virtual void SetClientIP (const irc::sockets::sockaddrs &sa, bool recheck_eline=true)
 User (const std::string &uid, const std::string &srv, int objtype)
bool CheckLines (bool doZline=false)
virtual const std::string & GetFullHost ()
virtual const std::string & GetFullRealHost ()
void InvalidateCache ()
const char * FormatNoticeMasks ()
std::string ProcessNoticeMasks (const char *sm)
bool IsNoticeMaskSet (unsigned char sm)
void SetNoticeMask (unsigned char sm, bool value)
const char * FormatModes (bool showparameters=false)
bool IsModeSet (unsigned char m)
void SetMode (unsigned char m, bool value)
virtual bool HasPermission (const std::string &command)
virtual bool HasPrivPermission (const std::string &privstr, bool noisy=false)
virtual bool HasModePermission (unsigned char mode, ModeType type)
char * MakeWildHost ()
const std::string & MakeHost ()
const std::string & MakeHostIP ()
void AddToWhoWas ()
void Oper (OperInfo *info)
bool ForceNickChange (const char *newnick)
void UnOper ()
virtual void Write (const std::string &text)
virtual void Write (const char *text,...) CUSTOM_PRINTF(2
virtual void void WriteServ (const std::string &text)
void WriteServ (const char *text,...) CUSTOM_PRINTF(2
void void WriteNumeric (unsigned int numeric, const char *text,...) CUSTOM_PRINTF(3
void void void WriteNumeric (unsigned int numeric, const std::string &text)
void WriteFrom (User *user, const std::string &text)
void WriteFrom (User *user, const char *text,...) CUSTOM_PRINTF(3
void void WriteTo (User *dest, const std::string &data)
void WriteTo (User *dest, const char *data,...) CUSTOM_PRINTF(3
void void WriteCommonRaw (const std::string &line, bool include_self=true)
void WriteCommon (const char *text,...) CUSTOM_PRINTF(2
void void WriteCommonExcept (const char *text,...) CUSTOM_PRINTF(2
void void void WriteCommonQuit (const std::string &normal_text, const std::string &oper_text)
void SendText (const std::string &LinePrefix, std::stringstream &TextStream)
void SendText (const char *text,...) CUSTOM_PRINTF(2
void bool SharesChannelWith (User *other)
void DoHostCycle (const std::string &quitline)
bool ChangeDisplayedHost (const char *host)
bool ChangeIdent (const char *newident)
bool ChangeName (const char *gecos)
bool ChangeNick (const std::string &newnick, bool force=false)
void SendAll (const char *command, const char *text,...) CUSTOM_PRINTF(3
void std::string ChannelList (User *source, bool spy)
void SplitChanList (User *dest, const std::string &cl)
void PurgeEmptyChannels ()
virtual ConnectClassGetClass ()
virtual ~User ()
virtual CullResult cull ()
- Public Member Functions inherited from Extensible
const ExtensibleStore & GetExtList () const
void doUnhookExtensions (const std::vector< reference< ExtensionItem > > &toRemove)

Additional Inherited Members

- Public Types inherited from Extensible
typedef std::map< reference
< ExtensionItem >, void * > 
- Public Attributes inherited from User
std::string host
time_t age
time_t signon
time_t idle_lastmsg
irc::sockets::sockaddrs client_sa
std::string nick
const std::string uuid
std::string ident
std::string dhost
std::string fullname
std::bitset< 64 > modes
std::bitset< 64 > snomasks
UserChanList chans
const std::string server
std::string awaymsg
time_t awaytime
reference< OperInfooper
unsigned int registered:3
unsigned int dns_done:1
unsigned int quietquit:1
unsigned int quitting:1
unsigned int quitting_sendq:1
unsigned int exempt:1
unsigned int lastping:1
const unsigned int usertype:2

Member Function Documentation

void RemoteUser::SendText ( const std::string &  line)

Write to the user, routing the line if the user is remote.

Implements User.

The documentation for this class was generated from the following files: