import{_ as e,o as n,c as s,e as a}from"./app-BrSLFMno.js";const t={},o=a(`
Description: 初始化通道
Arguments:
Source code
def __init__(self, name: str):
"""
初始化通道
Args:
name: 通道ID
"""
self._name = name
self._conn_send = None
self._conn_recv = None
self._closed = False
Description: 发送数据
Arguments:
Source code
def send(self, data):
"""
发送数据
Args:
data: 数据
"""
pass
Description: 接收数据
Return: data: 数据
Source code
def receive(self):
"""
接收数据
Returns:
data: 数据
"""
pass
Description: 关闭通道
Source code
def close(self):
"""
关闭通道
"""
pass
`,18),l=[o];function i(c,d){return n(),s("div",null,l)}const p=e(t,[["render",i],["__file","socks_channel.html.vue"]]),u=JSON.parse('{"path":"/en/dev/api/comm/socks_channel.html","title":"liteyuki.comm.socks_channel","lang":"en-US","frontmatter":{"title":"liteyuki.comm.socks_channel","description":"class SocksChannel method __init__(self, name: str) Description: 初始化通道 Arguments: name: 通道ID Source code method send(self, data) Description: 发送数据 Arguments: data: 数据 Source cod...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/socks_channel.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/socks_channel.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm.socks_channel"}],["meta",{"property":"og:description","content":"class SocksChannel method __init__(self, name: str) Description: 初始化通道 Arguments: name: 通道ID Source code method send(self, data) Description: 发送数据 Arguments: data: 数据 Source cod..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.socks_channel\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class SocksChannel","slug":"class-sockschannel","link":"#class-sockschannel","children":[]},{"level":3,"title":"method __init__(self, name: str)","slug":"method-init-self-name-str","link":"#method-init-self-name-str","children":[]},{"level":3,"title":"method send(self, data)","slug":"method-send-self-data","link":"#method-send-self-data","children":[]},{"level":3,"title":"method receive(self)","slug":"method-receive-self","link":"#method-receive-self","children":[]},{"level":3,"title":"method close(self)","slug":"method-close-self","link":"#method-close-self","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.48,"words":145},"filePathRelative":"en/dev/api/comm/socks_channel.md","autoDesc":true}');export{p as comp,u as data};