genode/gems/src/server/tcp_terminal
Norman Feske 6575856624 os: Split Session_label from Session_policy
By splitting Session_policy into two classes, we make it more flexible.
Originally, the constructor accepted solely an args string, which made it
unusable for situations where we already have extracted the session
label (e.g., stored in the session meta data of a server). Now, the
extraction of the label from the args string is performed by the new
Session_label class instead, which, in turn, can be passed to the
constructor of Session_policy.

This change causes a minor API change. The following code

  Session_policy policy(session_args);

Must be turned into

  Session_label  label(session_args);
  Session_policy policy(label);
2013-09-23 14:25:59 +02:00
..
main.cc os: Split Session_label from Session_policy 2013-09-23 14:25:59 +02:00
README Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
target.mk Merge base libraries into a single library 2013-02-19 14:45:55 +01:00

TCP terminal is a service that provides Genode's terminal-session interface
via individual TCP connections. It supports multiple clients. The TCP port
to be used for each client is defined in as session policy in the config node
of the TCP server:

! <config>
!   <policy label="client"         port="8181"/>
!   <policy label="another_client" port="8282"/>
! </config>

For an example of how to use the TCP terminal, please refer to the run script
at 'gems/run/tcp_terminal.run'.