Skip to content

Package io.github.qishr.cascara.common.exec.ipc

Class IpcServer

java.lang.Object
        io.github.qishr.cascara.common.exec.ipc.IpcServer

All Implemented Interfaces:
    AutoCloseable


public class IpcServer

Field Summary

Modifier and Type Field Description
public static final String SERIALIZATION_FORMAT

Method Summary

Modifier and Type Method Description
public static IpcServer start(boolean diagnosticForwarding, boolean ipcDebugEnabled)
public synchronized void listenAsync()
public Path getSocketPath()
public List getMessages(Class type)
public void close()

Field Details

SERIALIZATION_FORMAT

public static final String SERIALIZATION_FORMAT

See Also:

Constant Field Values


Method Details

start

@io.github.qishr.cascara.common.annotation.NonNull
public static IpcServer start(boolean diagnosticForwarding, boolean ipcDebugEnabled)

Throws:

IOException


listenAsync

public synchronized void listenAsync()


getSocketPath

@io.github.qishr.cascara.common.annotation.NonNull
public Path getSocketPath()


getMessages

@io.github.qishr.cascara.common.annotation.NonNull
public List getMessages(Class type)


close

public void close()

Throws:

IOException

Specified By:

AutoCloseable