A brief file description. More...
#include "I_EventSystem.h"
Go to the source code of this file.
Functions | |
TS_INLINE const char * | get_vc_event_name (int event) |
TS_INLINE VIO * | vc_do_io_write (VConnection *vc, Continuation *cont, int64_t nbytes, MIOBuffer *buf, int64_t offset) |
A brief file description.
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 P_VConnection.h.
TS_INLINE const char* get_vc_event_name | ( | int | event | ) |
Definition at line 30 of file P_VConnection.h.
References VC_EVENT_ACTIVE_TIMEOUT, VC_EVENT_EOS, VC_EVENT_ERROR, VC_EVENT_IMMEDIATE, VC_EVENT_INACTIVITY_TIMEOUT, VC_EVENT_NONE, VC_EVENT_READ_COMPLETE, VC_EVENT_READ_READY, VC_EVENT_WRITE_COMPLETE, and VC_EVENT_WRITE_READY.
Referenced by PrefetchBlaster::bufferObject(), PrefetchBlaster::httpClient(), SocksProxy::mainEvent(), SocksEntry::mainEvent(), OneWayTunnel::startEvent(), and OneWayMultiTunnel::startEvent().
TS_INLINE VIO* vc_do_io_write | ( | VConnection * | vc, | |
Continuation * | cont, | |||
int64_t | nbytes, | |||
MIOBuffer * | buf, | |||
int64_t | offset | |||
) |
Definition at line 87 of file P_VConnection.h.
References MIOBuffer::alloc_reader(), IOBufferReader::consume(), and VConnection::do_io_write().
Referenced by VConnection::do_io().