public class

NioManager

extends Object
implements Runnable
java.lang.Object
   ↳ com.ericsson.research.transport.NioManager

Summary

Public Methods
void bind(NioEndpoint endpoint, SocketAddress local, boolean wait)
synchronized static NioManager instance()
void open(NioEndpoint socket, InetSocketAddress remote)
void open(NioEndpoint socket, InetSocketAddress remote, boolean wait)
static void reset()
void run()
void start()
void stop()
Protected Methods
void close(SelectionKey key)
void send(SelectionKey key, byte[] data, int size)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Runnable

Public Methods

public void bind (NioEndpoint endpoint, SocketAddress local, boolean wait)

public static synchronized NioManager instance ()

public void open (NioEndpoint socket, InetSocketAddress remote)

public void open (NioEndpoint socket, InetSocketAddress remote, boolean wait)

public static void reset ()

Throws
IOException

public void run ()

public void start ()

public void stop ()

Throws
IOException

Protected Methods

protected void close (SelectionKey key)

protected void send (SelectionKey key, byte[] data, int size)

Throws
IOException