CatapultServer
v0.5.0.1 (Elephant)
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Functions
m
r
Variables
a
b
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
Macros
b
c
d
e
f
g
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
PacketIoPicker.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/ionet/NodePacketIoPair.h
"
23
#include <memory>
24
25
namespace
catapult
{
namespace
utils {
class
TimeSpan; } }
26
27
namespace
catapult
{
namespace
net {
28
30
class
PacketIoPicker
{
31
public
:
32
virtual
~PacketIoPicker
() =
default
;
33
34
public
:
37
virtual
ionet::NodePacketIoPair
pickOne
(
const
utils::TimeSpan
& ioDuration) = 0;
38
};
39
42
std::vector<ionet::NodePacketIoPair>
PickMultiple
(
PacketIoPicker
& picker,
size_t
numRequested,
const
utils::TimeSpan
& ioDuration);
43
}}
NodePacketIoPair.h
catapult::utils::TimeSpan
Represents a time duration.
Definition:
TimeSpan.h:30
PacketIoPicker.h
catapult::net::PickMultiple
std::vector< ionet::NodePacketIoPair > PickMultiple(PacketIoPicker &picker, size_t numRequested, const utils::TimeSpan &ioDuration)
Definition:
PacketIoPicker.cpp:26
catapult::net::PacketIoPicker
An interface for picking packet io pairs.
Definition:
PacketIoPicker.h:30
catapult::net::PacketIoPicker::pickOne
virtual ionet::NodePacketIoPair pickOne(const utils::TimeSpan &ioDuration)=0
TimeSpan.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::net::PacketIoPicker::~PacketIoPicker
virtual ~PacketIoPicker()=default
catapult::ionet::NodePacketIoPair
A node and packet io pair.
Definition:
NodePacketIoPair.h:29
catapult-server
src
catapult
net
PacketIoPicker.h
Generated by
1.8.16