コード例 #1
0
 def protocol(self):
     # type: () -> constants.Protocol
     ''':any:`nixnet._enums.Protocol`: Protocol supported by the interface.'''
     return constants.Protocol(_props.get_interface_protocol(self._handle))
コード例 #2
0
 def protocol(self):
     # type: () -> constants.Protocol
     """:any:`nixnet._enums.Protocol`: This property returns the protocol that the interface in the session uses."""
     return constants.Protocol(_props.get_session_protocol(self._handle))
コード例 #3
0
 def protocol(self):
     return constants.Protocol(_props.get_interface_protocol(self._handle))
コード例 #4
0
ファイル: _cluster.py プロジェクト: pombredanne/nixnet-python
 def protocol(self):
     return constants.Protocol(_props.get_cluster_protocol(self._handle))
コード例 #5
0
ファイル: session.py プロジェクト: brianlee1200/nixnet-python
 def protocol(self):
     return constants.Protocol(_props.get_session_protocol(self._handle))
コード例 #6
0
 def protocol(self):
     # type: () -> constants.Protocol
     """:any:`Protocol`: Get or set the cluster protocol."""
     return constants.Protocol(_props.get_cluster_protocol(self._handle))