• Home
  • Raw
  • Download

Lines Matching refs:VirtualConnection

66 VirtualConnection::CloseReason GetCloseReason(  in GetCloseReason()
68 VirtualConnection::CloseReason reason = in GetCloseReason()
69 VirtualConnection::CloseReason::kClosedByPeer; in GetCloseReason()
74 if (code >= VirtualConnection::CloseReason::kFirstReason && in GetCloseReason()
75 code <= VirtualConnection::CloseReason::kLastReason) { in GetCloseReason()
76 reason = static_cast<VirtualConnection::CloseReason>(code); in GetCloseReason()
99 VirtualConnection conn, in OpenRemoteConnection()
110 void ConnectionNamespaceHandler::CloseRemoteConnection(VirtualConnection conn) { in CloseRemoteConnection()
111 if (RemoveConnection(conn, VirtualConnection::kClosedBySelf)) { in CloseRemoteConnection()
167 VirtualConnection virtual_conn{std::move(message.destination_id()), in HandleConnect()
177 VirtualConnection::Type conn_type = VirtualConnection::Type::kStrong; in HandleConnect()
180 if (int_type < static_cast<int>(VirtualConnection::Type::kMinValue) || in HandleConnect()
181 int_type > static_cast<int>(VirtualConnection::Type::kMaxValue)) { in HandleConnect()
185 conn_type = static_cast<VirtualConnection::Type>(int_type); in HandleConnect()
188 VirtualConnection::AssociatedData data; in HandleConnect()
212 data.max_protocol_version = static_cast<VirtualConnection::ProtocolVersion>( in HandleConnect()
215 data.max_protocol_version = VirtualConnection::ProtocolVersion::kV2_1_0; in HandleConnect()
240 const VirtualConnection conn{std::move(*message.mutable_destination_id()), in HandleClose()
255 const VirtualConnection conn{std::move(message.destination_id()), in HandleConnectedResponse()
266 {VirtualConnection::Type::kStrong, in HandleConnectedResponse()
269 VirtualConnection::ProtocolVersion::kV2_1_3}); in HandleConnectedResponse()
276 void ConnectionNamespaceHandler::SendConnect(VirtualConnection virtual_conn) { in SendConnect()
282 void ConnectionNamespaceHandler::SendClose(VirtualConnection virtual_conn) { in SendClose()
289 const VirtualConnection& virtual_conn, in SendConnectedResponse()
307 const VirtualConnection& conn, in RemoveConnection()
308 VirtualConnection::CloseReason reason) { in RemoveConnection()