public interface org.glassfish.grizzly.Connection<L> extends org.glassfish.grizzly.Readable<L>, org.glassfish.grizzly.Writeable<L>, org.glassfish.grizzly.Closeable, org.glassfish.grizzly.attributes.AttributeStorage, org.glassfish.grizzly.monitoring.MonitoringAware<org.glassfish.grizzly.ConnectionProbe>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.glassfish.grizzly.Connection
super_class: java.lang.Object
{
public abstract org.glassfish.grizzly.Transport getTransport();
descriptor: ()Lorg/glassfish/grizzly/Transport;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isOpen();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void assertOpen();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract org.glassfish.grizzly.CloseReason getCloseReason();
descriptor: ()Lorg/glassfish/grizzly/CloseReason;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void configureBlocking(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
isBlocking
public abstract boolean isBlocking();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void configureStandalone(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
isStandalone
public abstract boolean isStandalone();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public abstract org.glassfish.grizzly.Processor obtainProcessor(org.glassfish.grizzly.IOEvent);
descriptor: (Lorg/glassfish/grizzly/IOEvent;)Lorg/glassfish/grizzly/Processor;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
ioEvent
public abstract org.glassfish.grizzly.Processor getProcessor();
descriptor: ()Lorg/glassfish/grizzly/Processor;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setProcessor(org.glassfish.grizzly.Processor);
descriptor: (Lorg/glassfish/grizzly/Processor;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
preferableProcessor
public abstract org.glassfish.grizzly.ProcessorSelector getProcessorSelector();
descriptor: ()Lorg/glassfish/grizzly/ProcessorSelector;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setProcessorSelector(org.glassfish.grizzly.ProcessorSelector);
descriptor: (Lorg/glassfish/grizzly/ProcessorSelector;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
preferableProcessorSelector
public abstract <E> E obtainProcessorState(org.glassfish.grizzly.Processor, org.glassfish.grizzly.utils.NullaryFunction<E>);
descriptor: (Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction<TE;>;)TE;
MethodParameters:
Name Flags
processor
factory
public abstract void executeInEventThread(org.glassfish.grizzly.IOEvent, java.lang.Runnable);
descriptor: (Lorg/glassfish/grizzly/IOEvent;Ljava/lang/Runnable;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
event
runnable
public abstract org.glassfish.grizzly.memory.MemoryManager<?> getMemoryManager();
descriptor: ()Lorg/glassfish/grizzly/memory/MemoryManager;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lorg/glassfish/grizzly/memory/MemoryManager<*>;
public abstract L getPeerAddress();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TL;
public abstract L getLocalAddress();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TL;
public abstract int getReadBufferSize();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setReadBufferSize(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
readBufferSize
public abstract int getWriteBufferSize();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setWriteBufferSize(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
writeBufferSize
public abstract int getMaxAsyncWriteQueueSize();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setMaxAsyncWriteQueueSize(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
maxAsyncWriteQueueSize
public abstract long getReadTimeout(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeUnit
public abstract void setReadTimeout(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeout
timeUnit
public abstract long getWriteTimeout(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeUnit
public abstract void setWriteTimeout(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeout
timeUnit
public abstract void simulateIOEvent(org.glassfish.grizzly.IOEvent);
descriptor: (Lorg/glassfish/grizzly/IOEvent;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ioEvent final
public abstract void enableIOEvent(org.glassfish.grizzly.IOEvent);
descriptor: (Lorg/glassfish/grizzly/IOEvent;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ioEvent final
public abstract void disableIOEvent(org.glassfish.grizzly.IOEvent);
descriptor: (Lorg/glassfish/grizzly/IOEvent;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ioEvent final
public abstract org.glassfish.grizzly.monitoring.MonitoringConfig<org.glassfish.grizzly.ConnectionProbe> getMonitoringConfig();
descriptor: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/ConnectionProbe;>;
public abstract void terminateSilently();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.Closeable> terminate();
descriptor: ()Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/Closeable;>;
public abstract void terminateWithReason(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
reason
public abstract org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.Closeable> close();
descriptor: ()Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/Closeable;>;
public abstract void close(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.Closeable>);
descriptor: (Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/Closeable;>;)V
MethodParameters:
Name Flags
completionHandler
public abstract void closeSilently();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void closeWithReason(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
reason
public abstract void addCloseListener(org.glassfish.grizzly.CloseListener);
descriptor: (Lorg/glassfish/grizzly/CloseListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
closeListener
public abstract boolean removeCloseListener(org.glassfish.grizzly.CloseListener);
descriptor: (Lorg/glassfish/grizzly/CloseListener;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
closeListener
public abstract void addCloseListener(org.glassfish.grizzly.Connection$CloseListener);
descriptor: (Lorg/glassfish/grizzly/Connection$CloseListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
closeListener
public abstract boolean removeCloseListener(org.glassfish.grizzly.Connection$CloseListener);
descriptor: (Lorg/glassfish/grizzly/Connection$CloseListener;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
closeListener
public abstract void notifyConnectionError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
error
}
Signature: <L:Ljava/lang/Object;>Ljava/lang/Object;Lorg/glassfish/grizzly/Readable<TL;>;Lorg/glassfish/grizzly/Writeable<TL;>;Lorg/glassfish/grizzly/Closeable;Lorg/glassfish/grizzly/attributes/AttributeStorage;Lorg/glassfish/grizzly/monitoring/MonitoringAware<Lorg/glassfish/grizzly/ConnectionProbe;>;
SourceFile: "Connection.java"
NestMembers:
org.glassfish.grizzly.Connection$CloseListener org.glassfish.grizzly.Connection$CloseType
InnerClasses:
public abstract CloseListener = org.glassfish.grizzly.Connection$CloseListener of org.glassfish.grizzly.Connection
public final CloseType = org.glassfish.grizzly.Connection$CloseType of org.glassfish.grizzly.Connection