Rice Pastry API

rice.pastry.socket.appsocket
Interface SocketFactory


public interface SocketFactory


Method Summary
 Cancellable getAppSocket(java.net.InetSocketAddress addr, int appid, Continuation<AppSocket,java.io.IOException> c)
           
 Cancellable getSocketChannel(java.net.InetSocketAddress addr, int appid, Continuation<java.nio.channels.SocketChannel,java.io.IOException> c)
           
 

Method Detail

getAppSocket

Cancellable getAppSocket(java.net.InetSocketAddress addr,
                         int appid,
                         Continuation<AppSocket,java.io.IOException> c)

getSocketChannel

Cancellable getSocketChannel(java.net.InetSocketAddress addr,
                             int appid,
                             Continuation<java.nio.channels.SocketChannel,java.io.IOException> c)

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.