31     long long unsigned int time;
    51       static GeoIP * geoIP4;
    52       static GeoIP * geoIP6;
    59       void seek(
unsigned long long pos);
    60       bool seek(
unsigned int tid, 
unsigned long long pos, 
bool getNextKey = 
false);
    62       void setBlocking(
bool blocking);
    63       long unsigned int getMainSelectedTrack();
    65       void selectDefaultTracks();
    67       bool openOutputFileForRecording(); 
    68       bool closeOutputFileForRecording(); 
    73       virtual void prepareNext();
    74       virtual void onRequest();
    79       virtual void initialize();
    80       virtual void sendHeader();
    81       virtual void onFail();
    82       virtual void requestHandler();
    92       void Log(std::string type, std::string message);
    94       bool isBlacklisted(std::string host, std::string streamName, 
int timeConnected);
    96       bool onList(std::string ip, std::string list);
   102       void loadPageForKey(
long unsigned int trackId, 
long long int keyNum);
   103       int pageNumForKey(
long unsigned int trackId, 
long long int keyNum);
   112       virtual std::string getConnectedHost();
   113       virtual std::string getConnectedBinHost();
   119       unsigned int getKeyForTime(
long unsigned int trackId, 
long long timeStamp);
 unsigned int minSkipAhead
Minimum ms that we will go ahead of the intended timestamps. 
Definition: output.h:123
bool wantRequest
If true, waits for a request. 
Definition: output.h:130
std::string hostLookup(std::string ip)
Definition: controller_limits.cpp:190
unsigned int maxSkipAhead
Maximum ms that we will go ahead of the intended timestamps. 
Definition: output.h:122
Class containing all basic input and output functions. 
Definition: io.h:66
bool completeKeysOnly
Bool if we send whole keys only, so the metadata is complete and the output knows in advance what wil...
Definition: output.h:125
Socket::Connection & myConn
Connection to the client. 
Definition: output.h:128
unsigned int tid
Definition: output.h:30
unsigned int crc
Checksum, if any, for usage in the stats. 
Definition: output.h:118
A JSON::Value is either a string or an integer, but may also be an object, array or null...
Definition: json.h:21
static JSON::Value capa
Definition: output.h:48
unsigned int realTime
Playback speed in ms of data per second. eg: 0 is infinite, 1000 real-time, 5000 is 0...
Definition: output.h:124
std::set< sortedPageInfo > buffer
A sorted list of next-to-be-loaded packets. 
Definition: output.h:107
Recording to file. 
Definition: input.cpp:13
virtual bool onFinish()
Definition: output.h:75
unsigned int lastStats
Time of last sending of stats. 
Definition: output.h:104
std::map< unsigned long, unsigned long > nxtKeyNum
Contains the number of the next key, for page seeking purposes. 
Definition: output.h:106
The output class is intended to be inherited by MistOut process classes. 
Definition: output.h:41
std::string reqUrl
Definition: output.h:54
std::map< unsigned long, unsigned int > currKeyOpen
Definition: output.h:101
The client part of a server/client model for shared memory. 
Definition: shared_memory.h:212
Deals with parsing configuration from commandline options. 
Definition: config.h:18
void Log(std::string kind, std::string message)
Store and print a log message. 
Definition: controller_storage.cpp:22
std::string getCountry(std::string ip)
Definition: controller_limits.cpp:376
bool sentHeader
If false, triggers sendHeader if parseData is true. 
Definition: output.h:133
IPC::sharedClient statsPage
Shared memory used for statistics reporting. 
Definition: output.h:116
bool operator<(const sortedPageInfo &rhs) const 
Definition: output.h:24
std::map< int, DTSCPageData > bookKeeping
Definition: output.h:135
static bool listenMode()
Definition: output.h:70
function init(plot)
Definition: jquery.flot.time.min.js:1
This struct keeps packet information sorted in playback order, so the Mist::Output class knows when t...
Definition: output.h:23
bool isBlocking
If true, indicates that myConn is blocking. 
Definition: output.h:117
bool isInitialized
If false, triggers initialization if parseData is true. 
Definition: output.h:132
bool sought
If a seek has been done, this is set to true. Used for seeking on prepareNext(). 
Definition: output.h:108
bool parseData
If true, triggers initalization if not already done, sending of header, sending of packets...
Definition: output.h:131
int outputFileDescriptor
Definition: output.h:137
long long unsigned int time
Definition: output.h:31
unsigned int offset
Definition: output.h:32
bool completeKeyReadyTimeOut
Definition: output.h:109
virtual void sendNext()
Definition: output.h:72
bool isBlacklisted(std::string host, std::string streamName, int timeConnected)
Definition: controller_limits.cpp:208
virtual void onRecord()
Definition: output.h:83
long long unsigned int firstTime
Time of first packet after last seek. Used for real-time sending. 
Definition: output.h:105
This class is for easy communicating through sockets, either TCP or Unix. 
Definition: socket.h:47
bool onList(std::string ip, std::string list)
Definition: controller_limits.cpp:145