org.openfast.session.tcp
Class TcpEndpoint

java.lang.Object
  extended by org.openfast.session.tcp.TcpEndpoint
All Implemented Interfaces:
Endpoint

public class TcpEndpoint
extends java.lang.Object
implements Endpoint


Constructor Summary
TcpEndpoint(int port)
           
TcpEndpoint(java.lang.String host, int port)
           
 
Method Summary
 void accept()
           
 void close()
           
 Connection connect()
           
 void setConnectionListener(ConnectionListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpEndpoint

public TcpEndpoint(int port)

TcpEndpoint

public TcpEndpoint(java.lang.String host,
                   int port)
Method Detail

connect

public Connection connect()
                   throws FastConnectionException
Specified by:
connect in interface Endpoint
Throws:
FastConnectionException

accept

public void accept()
            throws FastConnectionException
Specified by:
accept in interface Endpoint
Throws:
FastConnectionException

setConnectionListener

public void setConnectionListener(ConnectionListener listener)
Specified by:
setConnectionListener in interface Endpoint

close

public void close()
Specified by:
close in interface Endpoint


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.