All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ibs.ebf.protocol.IConnector

public interface IConnector
An object of type IConnector is primarily used by ebfServer API whenever a remote execute request is received from one of it's child class (java expressions).


Method Index

 o next()
Gets next line of result from remote connection.
 o processRequest()
Start processing request.
 o setIdString(String)
Login info is required if a connection is being made to the Admin or Peer port of the EbfServer.

Methods

 o setIdString
 public abstract void setIdString(String id_string)
Login info is required if a connection is being made to the Admin or Peer port of the EbfServer. Not used in ebfServer V2.1 or V2.2

Parameters:
login_id - A Login Id (also known as an identification string) for access verification
 o processRequest
 public abstract boolean processRequest() throws IOException
Start processing request. I.e. connect to ebfServer, send request and read results.

Returns:
IOException
 o next
 public abstract String next() throws EndOfResultException, BadRequestException, UnknownErrorException, AccessDeniedException, ServerBusyException
Gets next line of result from remote connection.

Returns:
A String for next line of output from remote connection.
Throws: EndOfResultException
Thrown when end of result is reached and there is no more data available.
Throws: BadRequestException
Thrown when given request format is not acceptable.
Throws: UnknownErrorException
Thrown when remote system encounteres unknown error.
Throws: AccessDeniedException
Thrown when attempt is made to access certain services without providing proper identification.
Throws: IOException
Thrown when IO error encoutered while communicating with remote system.
Throws: ServerBusyException
Thrown when ebfServer is busy and cannot process the request.

All Packages  Class Hierarchy  This Package  Previous  Next  Index