Package PyFoam :: Package Infrastructure :: Module FoamMetaServer :: Class ServerInfo
[hide private]
[frames] | no frames]

Class ServerInfo

source code

object --+
         |
        ServerInfo

Contains the information about a server

Instance Methods [hide private]
  __init__(self, ip, pid, port)
  checkValid(self)
Check with server whether this data item is still valid
  queryData(self)
Ask the server for additional data
  __getitem__(self, key)
  __setitem__(self, key, value)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, ip, pid, port)
(Constructor)

source code 
Parameters:
  • ip - IP of the server
  • pid - Die PID at the server
  • port - the port at which the server is listening
Overrides: object.__init__

checkValid(self)

source code 
Check with server whether this data item is still valid

queryData(self)

source code 
Ask the server for additional data

__getitem__(self, key)
(Indexing operator)

source code 
None

__setitem__(self, key, value)
(Index assignment operator)

source code 
None