Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.network.node.Node Class Reference
Inheritance diagram for cpc.network.node.Node:
cpc.network.node_connect_request.NodeConnectRequest

Public Member Functions

def isConnectedInbound
 
def isConnectedOutbound
 
def isConnected
 
def getId
 
def setQualifiedName
 
def getQualifiedName
 
def getUnverifiedHttpsPort
 
def setUnverifiedHttpsPort
 
def getVerifiedHttpsPort
 
def setVerifiedHttpsPort
 
def getHostname
 
def setHostname
 
def getPriority
 
def setPriority
 
def getNodes
 
def setNodes
 
def addInboundConnection
 
def reduceInboundConnection
 
def addOutboundConnection
 
def reduceOutboundConnection
 
def getNumInboundConnections
 
def getNumOutboundConnections
 
def toString
 

Static Public Member Functions

def getSelfNode
 

Public Attributes

 server_id
 
 workerStates
 
 status
 
 lock
 

Static Public Attributes

string STATUS_CONNECTED_INBOUND = "NODE_CONNECTED_INBOUND"
 
string STATUS_CONNECTED = "NODE_CONNECTED"
 
string STATUS_UNREACHABLE = "NODE_UNREACHABLE"
 
string STATUS_UNKNOWN = "UNKOWN"
 

Member Function Documentation

def cpc.network.node.Node.addInboundConnection (   self)
def cpc.network.node.Node.addOutboundConnection (   self)
def cpc.network.node.Node.getHostname (   self)
def cpc.network.node.Node.getId (   self)
def cpc.network.node.Node.getNodes (   self)
def cpc.network.node.Node.getNumInboundConnections (   self)
def cpc.network.node.Node.getNumOutboundConnections (   self)
def cpc.network.node.Node.getPriority (   self)
def cpc.network.node.Node.getQualifiedName (   self)
def cpc.network.node.Node.getSelfNode (   conf)
static
Return the 'self' node.
def cpc.network.node.Node.getUnverifiedHttpsPort (   self)
def cpc.network.node.Node.getVerifiedHttpsPort (   self)
def cpc.network.node.Node.isConnected (   self)
   Checks if node status is set to STATUS_CONNECTED i.e we have both
   inbound and outbound connections
def cpc.network.node.Node.isConnectedInbound (   self)
def cpc.network.node.Node.isConnectedOutbound (   self)
def cpc.network.node.Node.reduceInboundConnection (   self)
def cpc.network.node.Node.reduceOutboundConnection (   self)
def cpc.network.node.Node.setHostname (   self,
  hostname 
)
def cpc.network.node.Node.setNodes (   self,
  nodes 
)
input:
nodes:Nodes
def cpc.network.node.Node.setPriority (   self,
  priority 
)
def cpc.network.node.Node.setQualifiedName (   self,
  qualifiedName 
)
def cpc.network.node.Node.setUnverifiedHttpsPort (   self,
  unverifiedHttpsPort 
)
def cpc.network.node.Node.setVerifiedHttpsPort (   self,
  verifiedHttpsPort 
)
def cpc.network.node.Node.toString (   self)

Member Data Documentation

cpc.network.node.Node.lock
cpc.network.node.Node.server_id
cpc.network.node.Node.status
string cpc.network.node.Node.STATUS_CONNECTED = "NODE_CONNECTED"
static
string cpc.network.node.Node.STATUS_CONNECTED_INBOUND = "NODE_CONNECTED_INBOUND"
static
string cpc.network.node.Node.STATUS_UNKNOWN = "UNKOWN"
static
string cpc.network.node.Node.STATUS_UNREACHABLE = "NODE_UNREACHABLE"
static
cpc.network.node.Node.workerStates

The documentation for this class was generated from the following file: