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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Connection of a node to itself

src/c/o/concoord-1.1.0/concoord/node.py   concoord(Download)
from concoord.pack import *
from concoord.pvalue import PValueSet
from concoord.connection import ConnectionPool, Connection, SelfConnection
 
try:
        # add self to connectionpool
        self.connectionpool.add_connection_to_self(self.me,
                                                   SelfConnection(self.receivedmessages,
                                                                  self.receivedmessages_semaphore))
        self.logger = Logger("%s-%s" % (node_names[self.type],self.id), lognode=LOGGERNODE)

src/c/o/concoord-HEAD/concoord/node.py   concoord(Download)
from concoord.pack import *
from concoord.pvalue import PValueSet
from concoord.connection import ConnectionPool, Connection, SelfConnection
 
try:
        # add self to connectionpool
        self.connectionpool.add_connection_to_self(self.me,
                                                   SelfConnection(self.receivedmessages,
                                                                  self.receivedmessages_semaphore))
        self.logger = Logger("%s-%s" % (node_names[self.type],self.id), lognode=LOGGERNODE)