📄 msgcodes.py
字号:
# Copyright (C) 2006 Adam Charrett# This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA# msgcodes.py# Binary Communications protocol message codes.# (AUTOGENERATED Mon Jul 17 16:43:32 GMTST 2006)#Start of RERR codesRERR_OK = 0x00 # SuccessRERR_NOTAUTHORISED = 0x01 # Not authorisedRERR_EXISTS = 0x02 # Output Already ExistsRERR_NOTFOUND = 0x03 # Not foundRERR_STREAMING = 0x04 # Already streaming to requested ip:portRERR_GENERIC = 0xFF # Generic Error (see message)# End of RERR codes#Start of INFO codesINFO_NAME = 0x00 # Name (user defined) of this serverINFO_FETYPE = 0x01 # Front End TypeINFO_AUTHENTICATED = 0x02 # Is connection authenticated INFO_UPSECS = 0xFE # Uptime string in seconds ie "61" INFO_UPTIME = 0xFF # Uptime string "%d days %d hours %d minutes %d seconds"# End of INFO codes#Start of MSGCODE codesMSGCODE_INFO = 0x0000 # Information messageMSGCODE_AUTH = 0x0001 # AuthenticateMSGCODE_CSPS = 0x1101 # Control Service Primary Select - Select Primary ServiceMSGCODE_CSSA = 0x1102 # Control Service Secondary Add - Add secondary serviceMSGCODE_CSSS = 0x1103 # Control Service Secondary Select - Select a secondary serviceMSGCODE_CSSR = 0x1104 # Control Service Secondary Remove - Remove secondary serviceMSGCODE_COAO = 0x1201 # Control Output Add Output - Add a new output destinationMSGCODE_CORO = 0x1202 # Control Output Remove Output - Remove an output destinationMSGCODE_COAP = 0x1203 # Control Output Add PIDs - Add pids to an output.MSGCODE_CORP = 0x1204 # Control Output remove PIDs - Remove pids from an output.MSGCODE_SSPS = 0x2101 # Status Service Primary Service - Return current service name for primary service output.MSGCODE_SSFL = 0x2102 # Status Service Filter List - List service filters outputs.MSGCODE_SSPC = 0x2103 # Status Service Packet CountMSGCODE_SOLO = 0x2201 # Status Outputs List outputsMSGCODE_SOLP = 0x2202 # Status Output List pidsMSGCODE_SOPC = 0x2203 # Status Output Packet CountMSGCODE_STSS = 0x2F01 # Status TS StatsMSGCODE_SFES = 0x2F02 # Status Front End StatusMSGCODE_SSLA = 0x2F03 # Status Services List All - List all avaialable servicesMSGCODE_SSLM = 0x2F04 # Status Services List Multiplex - List services avaialable of the current multiplexMSGCODE_SSPL = 0x2F05 # Status Services List PIDsMSGCODE_RSSL = 0xF001 # Response Service Secondary ListMSGCODE_ROLO = 0xF002 # Response Outputs List outputsMSGCODE_RLP = 0xF003 # Response Output List pidsMSGCODE_ROPC = 0xF004 # Response Output Packet CountMSGCODE_RTSS = 0xF005 # Response TS StatsMSGCODE_RFES = 0xF006 # Response Front End StatusMSGCODE_RLS = 0xF007 # Response Services ListMSGCODE_RERR = 0xFFFF # Response Error# End of MSGCODE codes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -