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
 def protocol(self):
     return constants.Protocol(_props.get_cluster_protocol(self._handle))
예제 #5
0
 def protocol(self):
     return constants.Protocol(_props.get_session_protocol(self._handle))
 def protocol(self):
     # type: () -> constants.Protocol
     """:any:`Protocol`: Get or set the cluster protocol."""
     return constants.Protocol(_props.get_cluster_protocol(self._handle))