Tabla de contenidos | Jerarquía de las clases
Channel
Base : Objekt
Subclases directas :
| DataPipe |
HttpRequest |
P2P_Channel |
- Propiedades del objeto:
- Clase abstracta. No se puede instanciar directamente.
- Puede usarse en referencias definidas por el usuario.
Descripción
Atributos heredados
- De Objekt:
-
_comment_,
parent,
rand,
randomize,
children,
child,
front,
back,
childIndex,
childByName,
Atributos
uint DEBUG
Flags
Nombre oculto.
El valor no se guarda con el proyecto.
uint queue_size
Number
Peer current_peer
Reference
No modificable por expresión..
El valor no se guarda con el proyecto.
uint message_code
Number
No modificable por expresión..
El valor no se guarda con el proyecto.
void send_int (this: Channel, msg_code: int, value: int)
Method
void send_int (this: Channel, msg_code: int, value: int, peer: Peer)
Method
bool recv_int (this: Channel, data_var: int!)
Method
void send_float (this: Channel, msg_code: int, value: float)
Method
void send_float (this: Channel, msg_code: int, value: float, peer: Peer)
Method
bool recv_float (this: Channel, data_var: float!)
Method
void send_vec2 (this: Channel, msg_code: int, value: vec2)
Method
void send_vec2 (this: Channel, msg_code: int, value: vec2, peer: Peer)
Method
bool recv_vec2 (this: Channel, data_var: vec2!)
Method
void send_vec3 (this: Channel, msg_code: int, value: vec3)
Method
void send_vec3 (this: Channel, msg_code: int, value: vec3, peer: Peer)
Method
bool recv_vec3 (this: Channel, data_var: vec3!)
Method
void send_vec4 (this: Channel, msg_code: int, value: vec4)
Method
void send_vec4 (this: Channel, msg_code: int, value: vec4, peer: Peer)
Method
bool recv_vec4 (this: Channel, data_var: vec4!)
Method
void send_vbuf (this: Channel, msg_code: int, value: vbuf)
Method
void send_vbuf (this: Channel, msg_code: int, value: vbuf, peer: Peer)
Method
bool recv_vbuf (this: Channel, data_var: vbuf)
Method
void send_text (this: Channel, msg_code: int, value: string)
Method
void send_text (this: Channel, msg_code: int, value: string, peer: Peer)
Method
bool recv_text (this: Channel, data_var: string!)
Method
void send_obj (this: Channel, msg_code: Data)
Method
void send_obj (this: Channel, msg_code: Data, value: Peer)
Method
bool recv_obj (this: Channel, data_var: Data!)
Method
(C) Paco Suárez (pacosu@xitai,es). 2020.
XITAI