Package schrodinger :: Package application :: Package licensing :: Module flexlm :: Class Server
[hide private]
[frames] | no frames]

Class Server

 object --+    
          |    
LicenseLine --+
              |
             Server

Server objects represent SERVER lines in the license file.

The format of the SERVER line is: SERVER host hostid [port] [PRIMARY_IS_MASTER] [HEARTBEAT_INTERVAL=seconds]

Instance Methods [hide private]
 
__init__(self, line=None, line_num=0)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_elemkey(self)
Return the unique identifier for this line, used for recognizing duplicate lines.
 
print_fields(self)
 
hostname(self)
Return the hostname for this server.
 
hostport(self)
Return the port@host address for this server.
 
_parse_line(self, line)
 
is_nodelocked(self)
Returns true if this server is node-locked.

Inherited from LicenseLine: __str__, is_expired, short, string, unsign

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, line=None, line_num=0)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_elemkey(self)

 

Return the unique identifier for this line, used for recognizing duplicate lines.

Different identifiers are used for different types of lines: for SERVER lines, the hostid is used; for VENDOR lines, the vendor name is used; for FEATURE, INCREMENT, and PACKAGE lines, the signature is used.

Overrides: LicenseLine._elemkey
(inherited documentation)

print_fields(self)

 
Overrides: LicenseLine.print_fields