Defines | Typedefs | Functions | Variables

Http2ConnectionState.cc File Reference

Http2ConnectionState. More...

#include "P_Net.h"
#include "Http2ConnectionState.h"
#include "Http2ClientSession.h"
Include dependency graph for Http2ConnectionState.cc:

Go to the source code of this file.

Defines

#define DebugHttp2Ssn(fmt,...)   DebugSsn("http2_cs", "[%" PRId64 "] " fmt, this->con_id, __VA_ARGS__)

Typedefs

typedef Http2ErrorCode(* http2_frame_dispatch )(Http2ClientSession &, Http2ConnectionState &, const Http2Frame &)

Functions

static Http2ErrorCode rcv_settings_frame (Http2ClientSession &cs, Http2ConnectionState &cstate, const Http2Frame &frame)

Variables

static const int buffer_size_index [HTTP2_FRAME_TYPE_MAX]
static const http2_frame_dispatch frame_handlers [HTTP2_FRAME_TYPE_MAX]

Detailed Description

Http2ConnectionState.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file Http2ConnectionState.cc.


Define Documentation

#define DebugHttp2Ssn (   fmt,
  ... 
)    DebugSsn("http2_cs", "[%" PRId64 "] " fmt, this->con_id, __VA_ARGS__)

Definition at line 28 of file Http2ConnectionState.cc.


Typedef Documentation

Definition at line 31 of file Http2ConnectionState.cc.


Function Documentation

static Http2ErrorCode rcv_settings_frame ( Http2ClientSession cs,
Http2ConnectionState cstate,
const Http2Frame frame 
) [static]

Variable Documentation

const int buffer_size_index[HTTP2_FRAME_TYPE_MAX] [static]
Initial value:
{
  -1,   
  -1,   
  -1,   
  -1,   
  -1,   
  -1,   
  -1,   
  BUFFER_SIZE_INDEX_128,   
  -1,   
  -1,   
  -1,   
  -1,   
}

Definition at line 75 of file Http2ConnectionState.cc.

Referenced by Http2ConnectionState::main_event_handler().

const http2_frame_dispatch frame_handlers[HTTP2_FRAME_TYPE_MAX] [static]
Initial value:
{
  NULL,   
  NULL,   
  NULL,   
  NULL,   
  rcv_settings_frame,   
  NULL,   
  NULL,   
  NULL,   
  NULL,   
  NULL,   
  NULL,   
  NULL,   
}

Definition at line 91 of file Http2ConnectionState.cc.

Referenced by Http2ConnectionState::main_event_handler().