OpenShot Library | libopenshot-audio
0.1.9
|
Public Member Functions | |
Connection (ChildProcessMaster &m, const String &pipeName, int timeout) | |
![]() | |
InterprocessConnection (bool callbacksOnMessageThread=true, uint32 magicMessageHeaderNumber=0xf2b49e2c) | |
Creates a connection. More... | |
virtual | ~InterprocessConnection () |
Destructor. More... | |
bool | connectToSocket (const String &hostName, int portNumber, int timeOutMillisecs) |
Tries to connect this object to a socket. More... | |
bool | connectToPipe (const String &pipeName, int pipeReceiveMessageTimeoutMs) |
Tries to connect the object to an existing named pipe. More... | |
bool | createPipe (const String &pipeName, int pipeReceiveMessageTimeoutMs, bool mustNotExist=false) |
Tries to create a new pipe for other processes to connect to. More... | |
void | disconnect () |
Disconnects and closes any currently-open sockets or pipes. More... | |
bool | isConnected () const |
True if a socket or pipe is currently active. More... | |
StreamingSocket * | getSocket () const noexcept |
Returns the socket that this connection is using (or nullptr if it uses a pipe). More... | |
NamedPipe * | getPipe () const noexcept |
Returns the pipe that this connection is using (or nullptr if it uses a socket). More... | |
String | getConnectedHostName () const |
Returns the name of the machine at the other end of this connection. More... | |
bool | sendMessage (const MemoryBlock &message) |
Tries to send a message to the other end of this connection. More... | |
Definition at line 85 of file juce_ConnectedChildProcess.cpp.