de::gsi::bel::xfer::XferFactory Class Reference

List of all members.

Public Member Functions

final Xfer getDefaultXfer () throws IOException
final Xfer getXfer (String host, int port) throws IOException
final Xfer getXfer (Socket client) throws IOException

Static Public Member Functions

static final XferFactory getInstance ()

Detailed Description

Author:
huhmann


Member Function Documentation

final Xfer de::gsi::bel::xfer::XferFactory::getDefaultXfer (  )  throws IOException [inline]

get a default xfer client connection to port 8899 on localhost

Returns:
default xfer or null

static final XferFactory de::gsi::bel::xfer::XferFactory::getInstance (  )  [inline, static]

get the instance of the xfer factory

Returns:
xfer factory

final Xfer de::gsi::bel::xfer::XferFactory::getXfer ( Socket  client  )  throws IOException [inline]

get a xfer connection on specified socket. This is the way to create a xfer connection if you have already a connected socket, e.g. for a xfer server connection

Parameters:
socket connected socket
Returns:
xfer connection or null

final Xfer de::gsi::bel::xfer::XferFactory::getXfer ( String  host,
int  port 
) throws IOException [inline]

get a xfer connection to a specified host and port. This should be the standard way to create a xfer connection

Parameters:
host tcp/ip host to connect to
port tcp/ip port to connect to
Returns:
xfer connection or null


The documentation for this class was generated from the following file:
Generated on 4 Mar 2014 for xferjava by  doxygen 1.4.7