public class VirtualCarbonServer
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Class and Description |
|---|---|
protected class |
VirtualCarbonServer.Acceptor |
protected class |
VirtualCarbonServer.Worker |
| Constructor and Description |
|---|
VirtualCarbonServer() |
VirtualCarbonServer(java.net.InetAddress address) |
VirtualCarbonServer(java.net.InetAddress address,
org.echocat.jomon.runtime.numbers.IntegerRange portRange) |
VirtualCarbonServer(java.net.InetSocketAddress address) |
VirtualCarbonServer(int port) |
VirtualCarbonServer(org.echocat.jomon.runtime.numbers.IntegerRange portRange) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNoFatalException() |
void |
clearRecordedMeasurePoints() |
void |
close() |
protected static java.net.InetSocketAddress |
detectPort(java.net.InetAddress address,
org.echocat.jomon.runtime.numbers.IntegerRange portRange) |
java.net.InetSocketAddress |
getAddress() |
java.nio.charset.Charset |
getCharset() |
java.util.List<MeasurePoint> |
getLastRecordedMeasurePoints() |
protected MeasurePoint |
parseMeasurePoint(java.lang.String plain,
java.net.SocketAddress remote) |
protected void |
recordedMeasurePoints(MeasurePoint measurePoint) |
void |
setCharset(java.nio.charset.Charset charset) |
public VirtualCarbonServer(@Nonnull
java.net.InetSocketAddress address)
public VirtualCarbonServer(@Nonnegative
int port)
public VirtualCarbonServer(@Nullable
java.net.InetAddress address,
@Nullable
org.echocat.jomon.runtime.numbers.IntegerRange portRange)
public VirtualCarbonServer(@Nullable
java.net.InetAddress address)
public VirtualCarbonServer(@Nullable
org.echocat.jomon.runtime.numbers.IntegerRange portRange)
public VirtualCarbonServer()
@Nonnull public java.nio.charset.Charset getCharset()
public void setCharset(@Nonnull
java.nio.charset.Charset charset)
@Nonnull public java.net.InetSocketAddress getAddress()
@Nonnull public java.util.List<MeasurePoint> getLastRecordedMeasurePoints() throws java.io.IOException
java.io.IOExceptionpublic void clearRecordedMeasurePoints()
throws java.io.IOException
java.io.IOExceptionprotected void assertNoFatalException()
throws java.io.IOException
java.io.IOExceptionprotected void recordedMeasurePoints(@Nullable
MeasurePoint measurePoint)
@Nullable protected MeasurePoint parseMeasurePoint(@Nonnull java.lang.String plain, @Nonnull java.net.SocketAddress remote)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException@Nonnull
protected static java.net.InetSocketAddress detectPort(@Nullable
java.net.InetAddress address,
@Nullable
org.echocat.jomon.runtime.numbers.IntegerRange portRange)
Copyright © 2016 echocat. All Rights Reserved.