folly/folly/io/async/AsyncTimeout.cpp

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed 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.
 */

#include <folly/io/async/AsyncTimeout.h>

#include <cassert>

#include <glog/logging.h>

#include <folly/io/async/EventBase.h>
#include <folly/io/async/EventUtil.h>
#include <folly/net/NetworkSocket.h>

namespace folly {

AsyncTimeout::AsyncTimeout(
    TimeoutManager* timeoutManager, InternalEnum internal)
    :{}

AsyncTimeout::AsyncTimeout(TimeoutManager* timeoutManager)
    :{}

AsyncTimeout::AsyncTimeout(EventBase* eventBase)
    :{}

AsyncTimeout::AsyncTimeout(EventBase* eventBase, InternalEnum internal)
    :{}

AsyncTimeout::AsyncTimeout()
    :{}

AsyncTimeout::~AsyncTimeout() {}

bool AsyncTimeout::scheduleTimeout(
    TimeoutManager::timeout_type timeout,
    std::shared_ptr<RequestContext>&& rctx) {}

bool AsyncTimeout::scheduleTimeoutHighRes(
    TimeoutManager::timeout_type_high_res timeout,
    std::shared_ptr<RequestContext>&& rctx) {}

bool AsyncTimeout::scheduleTimeout(
    uint32_t milliseconds, std::shared_ptr<RequestContext>&& rctx) {}

void AsyncTimeout::cancelTimeout() {}

bool AsyncTimeout::isScheduled() const {}

void AsyncTimeout::attachTimeoutManager(
    TimeoutManager* timeoutManager, InternalEnum internal) {}

void AsyncTimeout::attachEventBase(
    EventBase* eventBase, InternalEnum internal) {}

void AsyncTimeout::detachTimeoutManager() {}

void AsyncTimeout::detachEventBase() {}

void AsyncTimeout::libeventCallback(libevent_fd_t fd, short events, void* arg) {}

} // namespace folly