Functions | Variables

SpdyClientSession.cc File Reference

SpdyClientSession.cc. More...

#include "SpdyClientSession.h"
#include "I_Net.h"
Include dependency graph for SpdyClientSession.cc:

Go to the source code of this file.

Functions

static int spdy_process_read (TSEvent event, SpdyClientSession *sm)
static int spdy_process_write (TSEvent event, SpdyClientSession *sm)
static int spdy_process_fetch (TSEvent event, SpdyClientSession *sm, void *edata)
static int spdy_process_fetch_header (TSEvent event, SpdyClientSession *sm, TSFetchSM fetch_sm)
static int spdy_process_fetch_body (TSEvent event, SpdyClientSession *sm, TSFetchSM fetch_sm)
void spdy_cs_create (NetVConnection *netvc, spdy::SessionVersion vers, MIOBuffer *iobuf, IOBufferReader *reader)
static ssize_t spdy_read_fetch_body_callback (spdylay_session *, int32_t stream_id, uint8_t *buf, size_t length, int *eof, spdylay_data_source *source, void *user_data)

Variables

static ClassAllocator
< SpdyClientSession
spdyClientSessionAllocator ("spdyClientSessionAllocator")
ClassAllocator< SpdyRequestspdyRequestAllocator ("spdyRequestAllocator")
static uint64_t g_sm_id = 1

Detailed Description

SpdyClientSession.cc.

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 SpdyClientSession.cc.


Function Documentation

void spdy_cs_create ( NetVConnection netvc,
spdy::SessionVersion  vers,
MIOBuffer iobuf,
IOBufferReader reader 
)
static int spdy_process_fetch ( TSEvent  event,
SpdyClientSession sm,
void *  edata 
) [static]
static int spdy_process_fetch_body ( TSEvent  event,
SpdyClientSession sm,
TSFetchSM  fetch_sm 
) [static]
static int spdy_process_fetch_header ( TSEvent  event,
SpdyClientSession sm,
TSFetchSM  fetch_sm 
) [static]
static int spdy_process_read ( TSEvent  event,
SpdyClientSession sm 
) [static]

Definition at line 283 of file SpdyClientSession.cc.

References SpdyClientSession::session.

static int spdy_process_write ( TSEvent  event,
SpdyClientSession sm 
) [static]
static ssize_t spdy_read_fetch_body_callback ( spdylay_session *  ,
int32_t  stream_id,
uint8_t *  buf,
size_t  length,
int *  eof,
spdylay_data_source *  source,
void *  user_data 
) [static]

Variable Documentation

uint64_t g_sm_id = 1 [static]

Definition at line 51 of file SpdyClientSession.cc.

Referenced by SpdyClientSession::init().

ClassAllocator<SpdyClientSession> spdyClientSessionAllocator("spdyClientSessionAllocator") [static]

Referenced by spdy_cs_create().