SYMBOL INDEX (149 symbols across 19 files) FILE: fyuneru/ipc/__protocol.py class WrongTypeOfPacketException (line 16) | class WrongTypeOfPacketException(Exception): pass class DataPacket (line 22) | class DataPacket: method __init__ (line 26) | def __init__(self, buf=None): method __str__ (line 31) | def __str__(self): class HeartbeatPacket (line 36) | class HeartbeatPacket: method __init__ (line 38) | def __init__(self, buf=None): method __str__ (line 42) | def __str__(self): class QueryPacket (line 49) | class QueryPacket: method __init__ (line 54) | def __init__(self, buf=None): method __str__ (line 61) | def __str__(self): class InfoPacket (line 67) | class InfoPacket: method __init__ (line 69) | def __init__(self, buf=None): method __setattr__ (line 74) | def __setattr__(self, name, value): method __getattr__ (line 77) | def __getattr__(self, name): method __str__ (line 80) | def __str__(self): function loadBufferToPacket (line 85) | def loadBufferToPacket(buf): FILE: fyuneru/ipc/client.py class InternalSocketClient (line 24) | class InternalSocketClient: method __init__ (line 38) | def __init__(self, serverURL): method __getattr__ (line 46) | def __getattr__(self, name): method __registerLastBeatSent (line 51) | def __registerLastBeatSent(self): method __registerLastBeatRecv (line 54) | def __registerLastBeatRecv(self): method __sendPacket (line 61) | def __sendPacket(self, packet): method __recvBuffer (line 71) | def __recvBuffer(self, buf, sender): method __handleHeartbeatPacket (line 94) | def __handleHeartbeatPacket(self, packet): method __handleInfoPacket (line 99) | def __handleInfoPacket(self, packet): method doQuery (line 104) | def doQuery(self, fillerFunc): method onInfo (line 111) | def onInfo(self, handler): method close (line 114) | def close(self): method heartbeat (line 121) | def heartbeat(self): method receive (line 139) | def receive(self): method send (line 146) | def send(self, buf): FILE: fyuneru/ipc/server.py class InternalSocketServer (line 27) | class InternalSocketServer: method __init__ (line 38) | def __init__(self, key): method __getattr__ (line 48) | def __getattr__(self, name): method __registerPeer (line 51) | def __registerPeer(self, addrTuple, timestamp=None): method __choosePeer (line 68) | def __choosePeer(self): method __sendPacket (line 77) | def __sendPacket(self, packet, to): method __recvBuffer (line 82) | def __recvBuffer(self, buf, sender): method __handleHeartbeatPacket (line 103) | def __handleHeartbeatPacket(self, packet, sender): method __handleQueryPacket (line 109) | def __handleQueryPacket(self, packet, sender): method onQuery (line 122) | def onQuery(self, question, answerfunc): method close (line 125) | def close(self): method clean (line 134) | def clean(self): method receive (line 156) | def receive(self): method send (line 178) | def send(self, buf): FILE: fyuneru/ipc/tools.py class InitConfigWaiter (line 7) | class InitConfigWaiter: method __queryFiller (line 13) | def __queryFiller(self, packet): method __infoReader (line 18) | def __infoReader(self, packet): method __init__ (line 30) | def __init__(self, ipc): method wait (line 34) | def wait(self): FILE: fyuneru/ipc/url.py class InvalidIPCServerURLException (line 11) | class InvalidIPCServerURLException(Exception): pass class IPCServerURL (line 13) | class IPCServerURL: method __init__ (line 20) | def __init__(self, url=None): method __str__ (line 35) | def __str__(self): FILE: fyuneru/net/protocol.py class DataPacketException (line 16) | class DataPacketException(Exception): class DataPacket (line 19) | class DataPacket: method __unpack (line 23) | def __unpack(self, buf): method __str__ (line 31) | def __str__(self): method __init__ (line 37) | def __init__(self, buf=None): FILE: fyuneru/net/vnet.py class VirtualNetworkInterfaceException (line 15) | class VirtualNetworkInterfaceException(Exception): pass class VirtualNetworkInterface (line 17) | class VirtualNetworkInterface: method __getTUNDeviceLocation (line 22) | def __getTUNDeviceLocation(self): method __init__ (line 28) | def __init__(self, ip, dstip, netmask="255.255.255.0"): method up (line 47) | def up(self): method fileno (line 64) | def fileno(self): method write (line 67) | def write(self, buf): method read (line 70) | def read(self, size=65536): method close (line 73) | def close(self): FILE: fyuneru/util/__xsalsa20.py class XSalsa20 (line 25) | class XSalsa20: method __salsa20Core (line 27) | def __salsa20Core(self, x, inbuf, oubuf): method __streamXor (line 65) | def __streamXor(self, iv, key, buf): method encrypt (line 111) | def encrypt(self, iv, key, buf): method decrypt (line 114) | def decrypt(self, iv, key, buf): FILE: fyuneru/util/config.py class CoreConfiguration (line 27) | class CoreConfiguration: pass class ProxyConfiguration (line 28) | class ProxyConfiguration: pass class ConfigFileException (line 30) | class ConfigFileException(Exception): pass class Configuration (line 34) | class Configuration: method __checkKeyExistence (line 36) | def __checkKeyExistence(self, parentDict, *keys): method __loadCore (line 42) | def __loadCore(self, core): method __loadProxyAllocations (line 65) | def __loadProxyAllocations(self, proxies): method listProxies (line 73) | def listProxies(self): method getProxyConfig (line 76) | def getProxyConfig(self, name): method getProxyInitParameters (line 82) | def getProxyInitParameters(self, proxyName, IPCServer, debug=False): method getCoreInitParameters (line 97) | def getCoreInitParameters(self, mode): method __init__ (line 115) | def __init__(self, config): FILE: fyuneru/util/crypto.py class CryptoException (line 66) | class CryptoException(Exception): pass function randint (line 68) | def randint(a, b): function randrange (line 72) | def randrange(a, b): function decidePaddingLength (line 76) | def decidePaddingLength(bufferLength): function KDF1 (line 88) | def KDF1(secret, length): class Authenticator (line 102) | class Authenticator: method __init__ (line 111) | def __init__(self, key): method __HMAC (line 114) | def __HMAC(self, buf): method sign (line 119) | def sign(self, buf): method verify (line 123) | def verify(self, buf): class Crypto (line 133) | class Crypto: method __init__ (line 136) | def __init__(self, passphrase): method __HMAC (line 141) | def __HMAC(self, buf): method encrypt (line 146) | def encrypt(self, buf): method decrypt (line 161) | def decrypt(self, buf): FILE: fyuneru/util/debug.py function configLoggingModule (line 9) | def configLoggingModule(debug): function colorify (line 26) | def colorify(text, color): function _decodeIPFrame (line 39) | def _decodeIPFrame(buf): function showPacket (line 70) | def showPacket(buf): FILE: fyuneru/util/droproot.py function dropRoot (line 16) | def dropRoot(uid_name='nobody', gid_name='nobody'): FILE: fyuneru/util/pidfile.py class ProcessRunningException (line 8) | class ProcessRunningException(Exception): pass class PidfileNonExistentException (line 9) | class PidfileNonExistentException(Exception): pass class PidfileWatcher (line 11) | class PidfileWatcher: method __init__ (line 21) | def __init__(self, path): method check (line 31) | def check(self): class PidfileCreator (line 41) | class PidfileCreator: method __init__ (line 42) | def __init__(self, path, log=sys.stdout.write, warn=sys.stderr.write): method __enter__ (line 47) | def __enter__(self): method __exit__ (line 68) | def __exit__(self, t, e, tb): method _remove (line 84) | def _remove(self): method _check (line 88) | def _check(self): FILE: fyuneru/util/procmgr.py class ProcessManagerException (line 9) | class ProcessManagerException(Exception): pass class ProcessManager (line 11) | class ProcessManager: method __init__ (line 16) | def __init__(self): method __pollAll (line 19) | def __pollAll(self): method __startProcess (line 26) | def __startProcess(self, name, command): method new (line 32) | def new(self, name, command): method killall (line 38) | def killall(self, tolerance=1.0): method kill (line 42) | def kill(self, name, tolerance=1.0): method restart (line 67) | def restart(self, name, tolerance=1.0): method wait (line 74) | def wait(self, name): class ParentProcessWatcher (line 78) | class ParentProcessWatcher: method __init__ (line 80) | def __init__(self, pid, terminator): method watch (line 85) | def watch(self): FILE: proxy.icmp.py function log (line 24) | def log(x): function doExit (line 55) | def doExit(signum, frame): FILE: proxy.shadowsocks.py function doExit (line 118) | def doExit(signum, frame): FILE: proxy.tcp.py class Datagram2Stream (line 53) | class Datagram2Stream: method put (line 57) | def put(self, datagram): method get (line 60) | def get(self, size=32768): class Stream2Datagram (line 65) | class Stream2Datagram: method put (line 69) | def put(self, buf): method get (line 72) | def get(self): function doExit (line 97) | def doExit(signum, frame): FILE: proxy.xmpp.py class SocketXMPPProxyException (line 62) | class SocketXMPPProxyException(Exception): pass class SocketXMPPProxy (line 64) | class SocketXMPPProxy: method __init__ (line 66) | def __init__(self, jid, password, peer): method __registerHandlers (line 89) | def __registerHandlers(self): method __sendPresence (line 92) | def __sendPresence(self): method message (line 98) | def message(self, con, event): method send (line 109) | def send(self, buf): function doExit (line 133) | def doExit(signum, frame): FILE: run_as.py function ipcOnQueryInit (line 87) | def ipcOnQueryInit(argv, answer): function doExit (line 122) | def doExit(signum, frame):