libmoost
session< SessionIoT, AllowQuit, EnableCLS > Class Template Reference
Inheritance diagram for session< SessionIoT, AllowQuit, EnableCLS >:
Collaboration diagram for session< SessionIoT, AllowQuit, EnableCLS >:

List of all members.

Public Member Functions

 session (remote_shell_server_impl &srv, remote_shell_iface *rsi, shared_ptr< SessionIoT > io, bool enable_cout_cerr=true)

Protected Member Functions

virtual void set_nodelay ()
virtual std::string get_peer_string () const
virtual void close ()
virtual void read_more (char *data, size_t max)
virtual void write_stdout (std::string *s, state st)
virtual void write_stderr (std::string *s, state st)

Private Attributes

shared_ptr< SessionIoT > m_io

Detailed Description

template<class SessionIoT, bool AllowQuit = true, bool EnableCLS = true>
class session< SessionIoT, AllowQuit, EnableCLS >

Definition at line 467 of file remote_shell.cpp.


Constructor & Destructor Documentation

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
session< SessionIoT, AllowQuit, EnableCLS >::session ( remote_shell_server_impl srv,
remote_shell_iface rsi,
shared_ptr< SessionIoT >  io,
bool  enable_cout_cerr = true 
) [inline]

Definition at line 470 of file remote_shell.cpp.


Member Function Documentation

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual void session< SessionIoT, AllowQuit, EnableCLS >::close ( ) [inline, protected, virtual]

Implements session_base.

Definition at line 487 of file remote_shell.cpp.

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual std::string session< SessionIoT, AllowQuit, EnableCLS >::get_peer_string ( ) const [inline, protected, virtual]

Implements session_base.

Definition at line 482 of file remote_shell.cpp.

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual void session< SessionIoT, AllowQuit, EnableCLS >::read_more ( char *  data,
size_t  max 
) [inline, protected, virtual]

Implements session_base.

Definition at line 492 of file remote_shell.cpp.

Here is the call graph for this function:

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual void session< SessionIoT, AllowQuit, EnableCLS >::set_nodelay ( ) [inline, protected, virtual]

Implements session_base.

Definition at line 477 of file remote_shell.cpp.

Here is the call graph for this function:

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual void session< SessionIoT, AllowQuit, EnableCLS >::write_stderr ( std::string *  s,
state  st 
) [inline, protected, virtual]

Implements session_base.

Definition at line 503 of file remote_shell.cpp.

Here is the call graph for this function:

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
virtual void session< SessionIoT, AllowQuit, EnableCLS >::write_stdout ( std::string *  s,
state  st 
) [inline, protected, virtual]

Implements session_base.

Definition at line 498 of file remote_shell.cpp.

Here is the call graph for this function:


Member Data Documentation

template<class SessionIoT , bool AllowQuit = true, bool EnableCLS = true>
shared_ptr<SessionIoT> session< SessionIoT, AllowQuit, EnableCLS >::m_io [private]

Definition at line 509 of file remote_shell.cpp.


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