|
LMMS
|
Public Member Functions | |
| Connection (ChildProcessWorker &p, const String &pipeName, int timeout) | |
| ~Connection () override | |
| Public Member Functions inherited from juce::InterprocessConnection | |
| InterprocessConnection (bool callbacksOnMessageThread=true, uint32 magicMessageHeaderNumber=0xf2b49e2c) | |
| virtual | ~InterprocessConnection () |
| bool | connectToSocket (const String &hostName, int portNumber, int timeOutMillisecs) |
| bool | connectToPipe (const String &pipeName, int pipeReceiveMessageTimeoutMs) |
| bool | createPipe (const String &pipeName, int pipeReceiveMessageTimeoutMs, bool mustNotExist=false) |
| void | disconnect (int timeoutMs=-1, Notify notify=Notify::yes) |
| bool | isConnected () const |
| StreamingSocket * | getSocket () const noexcept |
| NamedPipe * | getPipe () const noexcept |
| String | getConnectedHostName () const |
| bool | sendMessage (const MemoryBlock &message) |
| virtual void | messageReceived (const MemoryBlock &message)=0 |
Private Attributes | |
| ChildProcessWorker & | owner |
| Private Attributes inherited from juce::ChildProcessPingThread | |
| int | timeoutMs |
Additional Inherited Members | |
| Public Types inherited from juce::InterprocessConnection | |
| enum class | Notify { no , yes } |
| Private Types inherited from juce::Thread | |
| enum | { realtimeAudioPriority = -1 } |
| using | ThreadID = void* |
| Static Private Member Functions inherited from juce::Thread | |
| static void | launch (std::function< void()> functionToRun) |
| static bool | currentThreadShouldExit () |
| static bool | setCurrentThreadPriority (int priority) |
| static void JUCE_CALLTYPE | setCurrentThreadAffinityMask (uint32 affinityMask) |
| static void JUCE_CALLTYPE | sleep (int milliseconds) |
| static void JUCE_CALLTYPE | yield () |
| static ThreadID JUCE_CALLTYPE | getCurrentThreadId () |
| static Thread *JUCE_CALLTYPE | getCurrentThread () |
| static void JUCE_CALLTYPE | setCurrentThreadName (const String &newThreadName) |
|
inline |
|
inlineoverride |
|
inlineoverrideprivatevirtual |
Called when the connection is broken.
If the connection was created with the callbacksOnMessageThread flag set, then this will be called on the message thread; otherwise it will be called on a server thread.
Implements juce::InterprocessConnection.
|
inlineoverrideprivatevirtual |
Called when the connection is first connected.
If the connection was created with the callbacksOnMessageThread flag set, then this will be called on the message thread; otherwise it will be called on a server thread.
Implements juce::InterprocessConnection.
|
inlineoverrideprivate |
|
inlineoverrideprivatevirtual |
Implements juce::ChildProcessPingThread.
|
inlineoverrideprivate |
|
private |