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