JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::ChildProcessCoordinator::Connection Struct Referencefinal
Inheritance diagram for juce::ChildProcessCoordinator::Connection:
juce::InterprocessConnection juce::ChildProcessPingThread

Public Member Functions

 Connection (ChildProcessCoordinator &m, const String &pipeName, int timeout)
 
void startPinging ()
 
- Public Member Functions inherited from juce::InterprocessConnection
 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 (int timeoutMs=-1, Notify notify=Notify::yes)
 Disconnects and closes any currently-open sockets or pipes.
 
bool isConnected () const
 True if a socket or pipe is currently active.
 
StreamingSocketgetSocket () const noexcept
 Returns the socket that this connection is using (or nullptr if it uses a pipe).
 
NamedPipegetPipe () 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.
 

Additional Inherited Members

- Public Types inherited from juce::InterprocessConnection
enum class  Notify { no , yes }
 Whether the disconnect call should trigger callbacks. More...
 

Detailed Description

Definition at line 89 of file juce_ConnectedChildProcess.cpp.

Constructor & Destructor Documentation

◆ Connection()

juce::ChildProcessCoordinator::Connection::Connection ( ChildProcessCoordinator m,
const String pipeName,
int  timeout 
)

Definition at line 92 of file juce_ConnectedChildProcess.cpp.

◆ ~Connection()

juce::ChildProcessCoordinator::Connection::~Connection ( )
override

Definition at line 100 of file juce_ConnectedChildProcess.cpp.

Member Function Documentation

◆ startPinging()

void juce::ChildProcessPingThread::startPinging ( )

Definition at line 54 of file juce_ConnectedChildProcess.cpp.


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