Пример #1
0
    def application_protocol(self):
        # type: () -> constants.AppProtocol
        """:any:`nixnet._enums.AppProtocol`: This property returns the application protocol that the session uses.

        The database used with the session determines the application protocol.
        """
        return constants.AppProtocol(_props.get_session_application_protocol(self._handle))
Пример #2
0
 def application_protocol(self):
     return constants.AppProtocol(_props.get_cluster_application_protocol(self._handle))
 def application_protocol(self):
     # type: () -> constants.AppProtocol
     """:any:`AppProtocol`: Get or set the frame's application protocol."""
     return constants.AppProtocol(
         _props.get_frame_application_protocol(self._handle))