ePOST API

rice.post.proxy
Class ConnectivityCheckClient

java.lang.Object
  extended by rice.post.proxy.ConnectivityCheckClient

public class ConnectivityCheckClient
extends java.lang.Object


Nested Class Summary
protected  class ConnectivityCheckClient.ConnectivityCheckClientClient
           
 
Field Summary
protected  ConnectivityCheckClient.ConnectivityCheckClientClient client
           
protected  java.net.InetAddress local
           
protected  java.net.InetSocketAddress server
           
 
Constructor Summary
ConnectivityCheckClient(java.net.InetSocketAddress server)
           
 
Method Summary
 java.net.InetAddress check(long timeout, int port)
           
 java.lang.String getError()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected java.net.InetSocketAddress server

local

protected java.net.InetAddress local

client

protected ConnectivityCheckClient.ConnectivityCheckClientClient client
Constructor Detail

ConnectivityCheckClient

public ConnectivityCheckClient(java.net.InetSocketAddress server)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

check

public java.net.InetAddress check(long timeout,
                                  int port)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getError

public java.lang.String getError()

ePOST API

Copyright © 2001-2005 - Rice Pastry.