public class Connection
extends java.lang.Object
Constructor and Description |
---|
Connection(java.nio.channels.SocketChannel channel,
int bufferSize)
Create a connection for the given channel and utilizing the specified buffer size.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getBuffer() |
java.nio.channels.SocketChannel |
getChannel() |
ReaderRegistry<java.lang.String> |
getRegistry() |
IValueDeserializer |
getValueDeserializer() |
boolean |
isError() |
void |
setError(boolean error) |
public Connection(java.nio.channels.SocketChannel channel, int bufferSize)
channel
- connection channel used to read databufferSize
- buffer size for reading informationpublic ReaderRegistry<java.lang.String> getRegistry()
public java.nio.channels.SocketChannel getChannel()
public java.nio.ByteBuffer getBuffer()
public IValueDeserializer getValueDeserializer()
public void setError(boolean error)
public boolean isError()
Copyright 2020 Kieker Project, http://kieker-monitoring.net