Class: Protocol::QUIC::Server
- Inherits:
-
Object
- Object
- Protocol::QUIC::Server
- Defined in:
- ext/source/Ruby/Protocol/QUIC/Server.cpp
Instance Method Summary collapse
-
#initialize(dispatcher, configuration, tls_context, socket, remote_address, packet_header, ocid) ⇒ Object
constructor
Dispatcher & dispatcher, Configuration & configuration, TLS::ServerContext & tls_context, Socket & socket, const Address & remote_address, const ngtcp2_pkt_hd & packet_header, ngtcp2_cid *ocid = nullptr.
- #send_packets ⇒ Object
Constructor Details
#initialize(dispatcher, configuration, tls_context, socket, remote_address, packet_header, ocid) ⇒ Object
Dispatcher & dispatcher, Configuration & configuration, TLS::ServerContext & tls_context, Socket & socket, const Address & remote_address, const ngtcp2_pkt_hd & packet_header, ngtcp2_cid *ocid = nullptr
145 146 147 148 149 150 151 |
# File 'ext/source/Ruby/Protocol/QUIC/Server.cpp', line 145
static VALUE Ruby_Protocol_QUIC_Server_initialize(VALUE self, VALUE dispatcher, VALUE configuration, VALUE tls_context, VALUE socket, VALUE remote_address, VALUE packet_header, VALUE ocid) {
::Protocol::QUIC::Server *server = new Ruby::Protocol::QUIC::Server(self, dispatcher, configuration, tls_context, socket, remote_address, packet_header, ocid);
DATA_PTR(self) = server;
return self;
}
|
Instance Method Details
#send_packets ⇒ Object
153 154 155 156 157 158 159 |
# File 'ext/source/Ruby/Protocol/QUIC/Server.cpp', line 153
static VALUE Ruby_Protocol_QUIC_Server_send_packets(VALUE self) {
::Protocol::QUIC::Server *server = Ruby_Protocol_QUIC_Server_get(self);
server->send_packets();
return Qnil;
}
|