org.indy
Class ConnectionIntercept

java.lang.Object
  |
  +--org.indy.ConnectionIntercept

public class ConnectionIntercept
extends java.lang.Object

Base class for Indy connection interceptos.

Version:
0.1
Author:
OTG

Constructor Summary
ConnectionIntercept()
          Constructs a new IdConnectionIntercept instance
 
Method Summary
 void addConnectionInterceptListener(ConnectionInterceptListener l)
          Adds a feature to the ConnectionInterceptListener attribute of the IdConnectionIntercept object
 void connect(IndyComponent comp)
          Description of the Method
 void disconnect()
          Description of the Method
protected  ConnectionIntercept getIntercept()
          Gets the intercept attribute of the IdConnectionIntercept object
 boolean isClient()
          Gets the client attribute of the IdConnectionIntercept object
protected  void nestedConnect(IndyComponent connection)
          Description of the Method
protected  void nestedDisconnect()
          Description of the Method
protected  void nestedRead(byte[] b)
          Description of the Method
protected  void nestedWrite(byte[] b)
          Description of the Method
 void read(byte[] b)
          Description of the Method
 void removeConnectionInterceptListener(ConnectionInterceptListener l)
          Description of the Method
protected  void setIntercept(ConnectionIntercept i)
          Sets the intercept attribute of the IdConnectionIntercept object
 void setIsClient(boolean isClient)
          Sets the isClient attribute of the IdConnectionIntercept object
 void write(byte[] b)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionIntercept

public ConnectionIntercept()
Constructs a new IdConnectionIntercept instance
Method Detail

setIntercept

protected void setIntercept(ConnectionIntercept i)
                     throws InterceptCircularLinkException
Sets the intercept attribute of the IdConnectionIntercept object
Parameters:
i - The new intercept value
Throws:
IdInterceptCircularLinkException - Description of the Exception

setIsClient

public void setIsClient(boolean isClient)
Sets the isClient attribute of the IdConnectionIntercept object
Parameters:
isClient - The new isClient value

getIntercept

protected ConnectionIntercept getIntercept()
Gets the intercept attribute of the IdConnectionIntercept object
Returns:
The intercept value

isClient

public boolean isClient()
Gets the client attribute of the IdConnectionIntercept object
Returns:
The client value

nestedConnect

protected void nestedConnect(IndyComponent connection)
Description of the Method
Parameters:
connection - Description of the Parameter

nestedDisconnect

protected void nestedDisconnect()
Description of the Method

nestedRead

protected void nestedRead(byte[] b)
Description of the Method
Parameters:
b - Description of the Parameter

nestedWrite

protected void nestedWrite(byte[] b)
Description of the Method
Parameters:
b - Description of the Parameter

addConnectionInterceptListener

public void addConnectionInterceptListener(ConnectionInterceptListener l)
Adds a feature to the ConnectionInterceptListener attribute of the IdConnectionIntercept object
Parameters:
l - The feature to be added to the ConnectionInterceptListener attribute

removeConnectionInterceptListener

public void removeConnectionInterceptListener(ConnectionInterceptListener l)
Description of the Method
Parameters:
l - Description of the Parameter

read

public void read(byte[] b)
Description of the Method
Parameters:
b - Description of the Parameter

write

public void write(byte[] b)
Description of the Method
Parameters:
b - Description of the Parameter

connect

public void connect(IndyComponent comp)
Description of the Method
Parameters:
comp - Description of the Parameter

disconnect

public void disconnect()
Description of the Method


Copyright © 2002-2002 IndyJ. All Rights Reserved.