// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Incustomtransparentproxy.pas' rev: 10.00

#ifndef IncustomtransparentproxyHPP
#define IncustomtransparentproxyHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Incomponent.hpp>	// Pascal unit
#include <Inexception.hpp>	// Pascal unit
#include <Iniohandler.hpp>	// Pascal unit
#include <Inbasecomponent.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Incustomtransparentproxy
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS EIdTransparentProxyCircularLink;
class PASCALIMPLEMENTATION EIdTransparentProxyCircularLink : public Inexception::EInException 
{
	typedef Inexception::EInException inherited;
	
public:
	#pragma option push -w-inl
	/* EInExceptionBase.Create */ inline __fastcall virtual EIdTransparentProxyCircularLink(AnsiString AMsg)/* overload */ : Inexception::EInException(AMsg) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EIdTransparentProxyCircularLink(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size) : Inexception::EInException(Msg, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateRes */ inline __fastcall EIdTransparentProxyCircularLink(int Ident)/* overload */ : Inexception::EInException(Ident) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EIdTransparentProxyCircularLink(int Ident, System::TVarRec const * Args, const int Args_Size)/* overload */ : Inexception::EInException(Ident, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateHelp */ inline __fastcall EIdTransparentProxyCircularLink(const AnsiString Msg, int AHelpContext) : Inexception::EInException(Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EIdTransparentProxyCircularLink(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size, int AHelpContext) : Inexception::EInException(Msg, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResHelp */ inline __fastcall EIdTransparentProxyCircularLink(int Ident, int AHelpContext)/* overload */ : Inexception::EInException(Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EIdTransparentProxyCircularLink(System::PResStringRec ResStringRec, System::TVarRec const * Args, const int Args_Size, int AHelpContext)/* overload */ : Inexception::EInException(ResStringRec, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~EIdTransparentProxyCircularLink(void) { }
	#pragma option pop
	
};


typedef TMetaClass* TInCustomTransparentProxyClass;

class DELPHICLASS TInCustomTransparentProxy;
class PASCALIMPLEMENTATION TInCustomTransparentProxy : public Incomponent::TInComponent 
{
	typedef Incomponent::TInComponent inherited;
	
protected:
	AnsiString FHost;
	AnsiString FPassword;
	int FPort;
	AnsiString FUsername;
	TInCustomTransparentProxy* FChainedProxy;
	virtual void __fastcall AssignTo(Classes::TPersistent* ASource);
	virtual bool __fastcall GetEnabled(void) = 0 ;
	virtual void __fastcall SetEnabled(bool AValue);
	virtual void __fastcall MakeConnection(Iniohandler::TInIOHandler* AIOHandler, const AnsiString AHost, const int APort) = 0 ;
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	void __fastcall SetChainedProxy(const TInCustomTransparentProxy* AValue);
	
public:
	void __fastcall Connect(Iniohandler::TInIOHandler* AIOHandler, const AnsiString AHost, const int APort);
	virtual void __fastcall Bind(Iniohandler::TInIOHandler* AIOHandler, const AnsiString AHost, const int APort)/* overload */;
	void __fastcall Bind(Iniohandler::TInIOHandler* AIOHandler, const int APort)/* overload */;
	virtual bool __fastcall Listen(Iniohandler::TInIOHandler* AIOHandler, const int ATimeOut);
	__property bool Enabled = {read=GetEnabled, write=SetEnabled, nodefault};
	__property AnsiString Host = {read=FHost, write=FHost};
	__property AnsiString Password = {read=FPassword, write=FPassword};
	__property int Port = {read=FPort, write=FPort, nodefault};
	__property AnsiString Username = {read=FUsername, write=FUsername};
	__property TInCustomTransparentProxy* ChainedProxy = {read=FChainedProxy, write=SetChainedProxy};
public:
	#pragma option push -w-inl
	/* TInComponent.Destroy */ inline __fastcall virtual ~TInCustomTransparentProxy(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInCustomTransparentProxy(Classes::TComponent* AOwner)/* overload */ : Incomponent::TInComponent(AOwner) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Incustomtransparentproxy */
using namespace Incustomtransparentproxy;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Incustomtransparentproxy
