PacketIdGenerator.nextPacketId

Gets next packet id. If the session is full it won't return till there is free space again

class PacketIdGenerator
@safe @property
nextPacketId
()
out (result) { assert (result, "packet id can't be 0!"); assert (_event); }

Meta