Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
A socket protocal that facilates two objects communicating with each
other.

The only instance methods that should be called in ordinary use are
'init' and 'main'. Communication should be done through the methods on
'Client' objects.

src/e/n/envisage-HEAD/envisage/plugins/remote_editor/communication/tests/test_communication.py   envisage(Download)
# Local imports
from envisage.plugins.remote_editor.communication.client import Client
from envisage.plugins.remote_editor.communication.server import Server
from envisage.plugins.remote_editor.communication.util import \
    get_server_port, LOCK_PATH
    def run(self):
        self.server = Server()
        self.server.init()
        self.server.main()
 

src/e/n/envisage-4.4.0/envisage/plugins/remote_editor/communication/tests/test_communication.py   envisage(Download)
# Local imports
from envisage.plugins.remote_editor.communication.client import Client
from envisage.plugins.remote_editor.communication.server import Server
from envisage.plugins.remote_editor.communication.util import \
    get_server_port, LOCK_PATH
    def run(self):
        self.server = Server()
        self.server.init()
        self.server.main()