OpenShot Library | libopenshot-audio  0.1.9
juce::ChildProcessMaster::Connection Struct Reference
+ Inheritance diagram for juce::ChildProcessMaster::Connection:

Public Member Functions

 Connection (ChildProcessMaster &m, const String &pipeName, int timeout)
 
- Public Member Functions inherited from juce::InterprocessConnection
 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...
 
StreamingSocketgetSocket () const noexcept
 Returns the socket that this connection is using (or nullptr if it uses a pipe). More...
 
NamedPipegetPipe () 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...
 

Detailed Description

Definition at line 85 of file juce_ConnectedChildProcess.cpp.


The documentation for this struct was generated from the following file: