Rice Pastry API

rice.pastry.socket.appsocket
Class BlockingAppSocketFactory

java.lang.Object
  extended by rice.pastry.socket.appsocket.BlockingAppSocketFactory

public class BlockingAppSocketFactory
extends java.lang.Object

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh

Field Summary
static byte[] magic_version_direct
          12 bytes, contains the magic number, the version number, and the HEADER_DIRECT
 
Constructor Summary
BlockingAppSocketFactory()
          Constructor for BlockingAppSocketFactory.
 
Method Summary
 java.nio.channels.SocketChannel connect(java.net.InetSocketAddress addr, int appId)
          DESCRIBE THE METHOD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

magic_version_direct

public static final byte[] magic_version_direct
12 bytes, contains the magic number, the version number, and the HEADER_DIRECT

Constructor Detail

BlockingAppSocketFactory

public BlockingAppSocketFactory()
Constructor for BlockingAppSocketFactory.

Method Detail

connect

public java.nio.channels.SocketChannel connect(java.net.InetSocketAddress addr,
                                               int appId)
                                        throws AppSocketException,
                                               java.io.IOException
DESCRIBE THE METHOD

Parameters:
addr - DESCRIBE THE PARAMETER
appId - DESCRIBE THE PARAMETER
Returns:
DESCRIBE THE RETURN VALUE
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION
AppSocketException - DESCRIBE THE EXCEPTION

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.