Package org.eclipse.aether.named.ipc
Class IpcServer
java.lang.Object
org.eclipse.aether.named.ipc.IpcServer
Implementation of the server side.
The server instance is bound to a given maven repository.
- Since:
- 2.0.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final String
static final int
static final String
static final boolean
static final boolean
static final String
Should the IPC server log debug messages? (i.e.static final String
IPC socket family to use.static final String
IPC idle timeout in seconds.static final String
The name if the IPC server native executable (without file extension like ".exe")static final String
Should the IPC server not fork? (i.e.static final String
Should the IPC server not use native executable? -
Constructor Summary
-
Method Summary
-
Field Details
-
SYSTEM_PROP_NO_FORK
Should the IPC server not fork? (i.e. for testing purposes)- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
Boolean
- Default value:
DEFAULT_NO_FORK
-
DEFAULT_NO_FORK
- See Also:
-
SYSTEM_PROP_IDLE_TIMEOUT
IPC idle timeout in seconds. If there is no IPC request during idle time, it will stop.- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
Integer
- Default value:
DEFAULT_IDLE_TIMEOUT
-
DEFAULT_IDLE_TIMEOUT
- See Also:
-
SYSTEM_PROP_FAMILY
IPC socket family to use.- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
String
- Default value:
DEFAULT_FAMILY
-
DEFAULT_FAMILY
- See Also:
-
SYSTEM_PROP_NO_NATIVE
Should the IPC server not use native executable?- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
Boolean
- Default value:
DEFAULT_NO_NATIVE
-
DEFAULT_NO_NATIVE
- See Also:
-
SYSTEM_PROP_NATIVE_NAME
The name if the IPC server native executable (without file extension like ".exe")- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
String
- Default value:
DEFAULT_NATIVE_NAME
-
DEFAULT_NATIVE_NAME
- See Also:
-
SYSTEM_PROP_DEBUG
Should the IPC server log debug messages? (i.e. for testing purposes)- See Also:
- Sourced from:
System.getProperty(String, String)
- Value type:
Boolean
- Default value:
DEFAULT_DEBUG
-
DEFAULT_DEBUG
- See Also:
-
-
Constructor Details
-
IpcServer
- Throws:
IOException
-
-
Method Details
-
main
- Throws:
Exception
-
getLocalAddress
- Throws:
IOException
-
run
-