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); |
||
---|---|---|
.. | ||
main.cc | ||
README | ||
target.mk |
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'.