Interface IpcChannelMessagesSender
- All Superinterfaces:
AutoCloseable
,Invalidatable
,UncaughtExceptionsGenerator
- All Known Implementing Classes:
PmMessageSender
Represents a sender side of Inter process communication channel.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
send
(IpcMessage message) Sends given message to receiver on the other side of channel, waiting until it is received.Methods inherited from interface com._1c.g5.v8.dt.internal.pm.ipc.sync.Invalidatable
isValid
Methods inherited from interface com._1c.g5.v8.dt.internal.pm.ipc.sync.UncaughtExceptionsGenerator
setUncaughtExceptionHandler
-
Method Details
-
send
Sends given message to receiver on the other side of channel, waiting until it is received.- Parameters:
message
- given message (notnull
)- Throws:
InterruptedException
- if waiting for message receiving interruptedIOException
- if sending message failed
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- if operatin failed due to I/O exception
-