Public Types | Public Member Functions | Public Attributes

nsIEcho Interface Reference

import "xpctest.idl";

List of all members.

Public Types

enum  { one = 1 }
enum  { five = 5 }
enum  { six = 6 }
enum  { medium = 12345U }
enum  { big = 4294967295U }

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD SetReceiver (nsIEcho *aReceiver)=0
NS_SCRIPTABLE NS_IMETHOD SendOneString (const char *str)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneInt (PRInt32 input, PRInt32 *_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutAddTwoInts (PRInt32 input1, PRInt32 input2, PRInt32 *output1 NS_OUTPARAM, PRInt32 *output2 NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneString (const char *input, char **_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneDOMString (const nsAString &input, nsAString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD EchoIn2OutOneDOMString (const nsAString &input, nsAString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneAString (const nsAString &input, nsAString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD EchoIn2OutOneAString (const nsAString &input, nsAString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneUTF8String (const nsACString &input, nsACString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD EchoIn2OutOneUTF8String (const nsACString &input, nsACString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD In2OutOneCString (const nsACString &input, nsACString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD EchoIn2OutOneCString (const nsACString &input, nsACString &_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD SimpleCallNoEcho (void)=0
NS_SCRIPTABLE NS_IMETHOD SendManyTypes (PRUint8 p1, PRInt16 p2, PRInt32 p3, PRInt64 p4, PRUint8 p5, PRUint16 p6, PRUint32 p7, PRUint64 p8, float p9, double p10, PRBool p11, char p12, PRUnichar p13, const nsID *p14, const char *p15, const PRUnichar *p16)=0
NS_SCRIPTABLE NS_IMETHOD SendInOutManyTypes (PRUint8 *p1 NS_INOUTPARAM, PRInt16 *p2 NS_INOUTPARAM, PRInt32 *p3 NS_INOUTPARAM, PRInt64 *p4 NS_INOUTPARAM, PRUint8 *p5 NS_INOUTPARAM, PRUint16 *p6 NS_INOUTPARAM, PRUint32 *p7 NS_INOUTPARAM, PRUint64 *p8 NS_INOUTPARAM, float *p9 NS_INOUTPARAM, double *p10 NS_INOUTPARAM, PRBool *p11 NS_INOUTPARAM, char *p12 NS_INOUTPARAM, PRUnichar *p13 NS_INOUTPARAM, nsID **p14 NS_INOUTPARAM, char **p15 NS_INOUTPARAM, PRUnichar **p16 NS_INOUTPARAM)=0
NS_IMETHOD MethodWithNative (PRInt32 p1, void *p2)=0
NS_SCRIPTABLE NS_IMETHOD ReturnCode (PRInt32 code)=0
NS_SCRIPTABLE NS_IMETHOD FailInJSTest (PRInt32 fail)=0
NS_SCRIPTABLE NS_IMETHOD SharedString (const char **str NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD ReturnCode_NS_OK (void)=0
NS_SCRIPTABLE NS_IMETHOD ReturnCode_NS_ERROR_NULL_POINTER (void)=0
NS_SCRIPTABLE NS_IMETHOD ReturnCode_NS_ERROR_UNEXPECTED (void)=0
NS_SCRIPTABLE NS_IMETHOD ReturnCode_NS_ERROR_OUT_OF_MEMORY (void)=0
NS_SCRIPTABLE NS_IMETHOD ReturnInterface (nsISupports *obj, nsISupports **_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD GetStack (nsIStackFrame **_retval NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD SetReceiverReturnOldReceiver (nsIEcho **aReceiver NS_INOUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD MethodWithForwardDeclaredParam (nsITestXPCSomeUselessThing *sut)=0
NS_SCRIPTABLE NS_IMETHOD PseudoQueryInterface (const nsIID &uuid, void **result NS_OUTPARAM)=0
NS_SCRIPTABLE NS_IMETHOD DebugDumpJSStack (void)=0
NS_SCRIPTABLE NS_IMETHOD PrintArgTypes (void)=0
NS_SCRIPTABLE NS_IMETHOD ThrowArg (void)=0
NS_SCRIPTABLE NS_IMETHOD CallReceiverSometimeLater (void)=0
NS_SCRIPTABLE NS_IMETHOD GetThrowInGetter (PRInt16 *aThrowInGetter)=0
NS_SCRIPTABLE NS_IMETHOD GetAString (char **aAString)=0
NS_SCRIPTABLE NS_IMETHOD SetAString (const char *aAString)=0
NS_SCRIPTABLE NS_IMETHOD GetSomeValue (PRInt32 *aSomeValue)=0
NS_SCRIPTABLE NS_IMETHOD SetSomeValue (PRInt32 aSomeValue)=0
NS_SCRIPTABLE NS_IMETHOD CallFunction (nsITestXPCFunctionCallback *callback, const char *s)=0
NS_SCRIPTABLE NS_IMETHOD CallFunctionWithThis (nsITestXPCFunctionCallback *callback, nsISupports *self, const char *s)=0
void SetReceiver (in nsIEcho aReceiver)
void SendOneString (in string str)
long In2OutOneInt (in long input)
long In2OutAddTwoInts (in long input1, in long input2, out long output1, out long output2)
string In2OutOneString (in string input)
DOMString In2OutOneDOMString (in DOMString input)
DOMString EchoIn2OutOneDOMString (in DOMString input)
AString In2OutOneAString (in AString input)
AString EchoIn2OutOneAString (in AString input)
AUTF8String In2OutOneUTF8String (in AUTF8String input)
AUTF8String EchoIn2OutOneUTF8String (in AUTF8String input)
ACString In2OutOneCString (in ACString input)
ACString EchoIn2OutOneCString (in ACString input)
void SimpleCallNoEcho ()
void SendManyTypes (in octet p1, in short p2, in long p3, in long long p4, in octet p5, in unsigned short p6, in unsigned long p7, in unsigned long long p8, in float p9, in double p10, in boolean p11, in char p12, in wchar p13, in nsIDPtr p14, in string p15, in wstring p16)
void SendInOutManyTypes (inout octet p1, inout short p2, inout long p3, inout long long p4, inout octet p5, inout unsigned short p6, inout unsigned long p7, inout unsigned long long p8, inout float p9, inout double p10, inout boolean p11, inout char p12, inout wchar p13, inout nsIDPtr p14, inout string p15, inout wstring p16)
void MethodWithNative (in long p1, in voidPtr p2)
void ReturnCode (in long code)
void FailInJSTest (in long fail)
void SharedString ([retval, shared] out string str)
void ReturnCode_NS_OK ()
void ReturnCode_NS_ERROR_NULL_POINTER ()
void ReturnCode_NS_ERROR_UNEXPECTED ()
void ReturnCode_NS_ERROR_OUT_OF_MEMORY ()
nsISupports ReturnInterface (in nsISupports obj)
nsIStackFrame GetStack ()
void SetReceiverReturnOldReceiver (inout nsIEcho aReceiver)
void MethodWithForwardDeclaredParam (in nsITestXPCSomeUselessThing sut)
void PseudoQueryInterface (in nsIIDRef uuid,[iid_is(uuid), retval] out nsQIResult result)
void DebugDumpJSStack ()
void printArgTypes ()
void throwArg ()
void callReceiverSometimeLater ()
void callFunction (in nsITestXPCFunctionCallback callback, in string s)
void callFunctionWithThis (in nsITestXPCFunctionCallback callback, in nsISupports self, in string s)

Public Attributes

readonly attribute short throwInGetter
attribute string aString
attribute PRInt32 SomeValue
const short one = 1
const short five = 5
const short six = 6
const PRUint32 medium = 12345
const PRUint32 big = 0xFFFFFFFF

Member Enumeration Documentation

anonymous enum
Enumerator:
one 
anonymous enum
Enumerator:
five 
anonymous enum
Enumerator:
six 
anonymous enum
Enumerator:
medium 
anonymous enum
Enumerator:
big 

Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD nsIEcho::CallFunction ( nsITestXPCFunctionCallback callback,
const char *  s 
) [pure virtual]
void nsIEcho::callFunction ( in nsITestXPCFunctionCallback  callback,
in string  s 
)
NS_SCRIPTABLE NS_IMETHOD nsIEcho::CallFunctionWithThis ( nsITestXPCFunctionCallback callback,
nsISupports self,
const char *  s 
) [pure virtual]
void nsIEcho::callFunctionWithThis ( in nsITestXPCFunctionCallback  callback,
in nsISupports  self,
in string  s 
)
void nsIEcho::callReceiverSometimeLater (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::CallReceiverSometimeLater ( void   )  [pure virtual]
void nsIEcho::DebugDumpJSStack (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::DebugDumpJSStack ( void   )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::EchoIn2OutOneAString ( const nsAString input,
nsAString &_retval  NS_OUTPARAM 
) [pure virtual]
AString nsIEcho::EchoIn2OutOneAString ( in AString  input  ) 
ACString nsIEcho::EchoIn2OutOneCString ( in ACString  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::EchoIn2OutOneCString ( const nsACString input,
nsACString &_retval  NS_OUTPARAM 
) [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::EchoIn2OutOneDOMString ( const nsAString input,
nsAString &_retval  NS_OUTPARAM 
) [pure virtual]
DOMString nsIEcho::EchoIn2OutOneDOMString ( in DOMString  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::EchoIn2OutOneUTF8String ( const nsACString input,
nsACString &_retval  NS_OUTPARAM 
) [pure virtual]
AUTF8String nsIEcho::EchoIn2OutOneUTF8String ( in AUTF8String  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::FailInJSTest ( PRInt32  fail  )  [pure virtual]
void nsIEcho::FailInJSTest ( in long  fail  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::GetAString ( char **  aAString  )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::GetSomeValue ( PRInt32 *  aSomeValue  )  [pure virtual]
nsIStackFrame nsIEcho::GetStack (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::GetStack ( nsIStackFrame **_retval  NS_OUTPARAM  )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::GetThrowInGetter ( PRInt16 *  aThrowInGetter  )  [pure virtual]
long nsIEcho::In2OutAddTwoInts ( in long  input1,
in long  input2,
out long  output1,
out long  output2 
)
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutAddTwoInts ( PRInt32  input1,
PRInt32  input2,
PRInt32 *output1  NS_OUTPARAM,
PRInt32 *output2  NS_OUTPARAM,
PRInt32 *_retval  NS_OUTPARAM 
) [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneAString ( const nsAString input,
nsAString &_retval  NS_OUTPARAM 
) [pure virtual]
AString nsIEcho::In2OutOneAString ( in AString  input  ) 
ACString nsIEcho::In2OutOneCString ( in ACString  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneCString ( const nsACString input,
nsACString &_retval  NS_OUTPARAM 
) [pure virtual]
DOMString nsIEcho::In2OutOneDOMString ( in DOMString  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneDOMString ( const nsAString input,
nsAString &_retval  NS_OUTPARAM 
) [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneInt ( PRInt32  input,
PRInt32 *_retval  NS_OUTPARAM 
) [pure virtual]
long nsIEcho::In2OutOneInt ( in long  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneString ( const char *  input,
char **_retval  NS_OUTPARAM 
) [pure virtual]
string nsIEcho::In2OutOneString ( in string  input  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::In2OutOneUTF8String ( const nsACString input,
nsACString &_retval  NS_OUTPARAM 
) [pure virtual]
AUTF8String nsIEcho::In2OutOneUTF8String ( in AUTF8String  input  ) 
void nsIEcho::MethodWithForwardDeclaredParam ( in nsITestXPCSomeUselessThing  sut  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::MethodWithForwardDeclaredParam ( nsITestXPCSomeUselessThing sut  )  [pure virtual]
NS_IMETHOD nsIEcho::MethodWithNative ( PRInt32  p1,
void *  p2 
) [pure virtual]
void nsIEcho::MethodWithNative ( in long  p1,
in voidPtr  p2 
)
void nsIEcho::printArgTypes (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::PrintArgTypes ( void   )  [pure virtual]
void nsIEcho::PseudoQueryInterface ( in nsIIDRef  uuid,
[iid_is(uuid), retval] out nsQIResult  result 
)
NS_SCRIPTABLE NS_IMETHOD nsIEcho::PseudoQueryInterface ( const nsIID &  uuid,
void **result  NS_OUTPARAM 
) [pure virtual]
void nsIEcho::ReturnCode ( in long  code  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnCode ( PRInt32  code  )  [pure virtual]
void nsIEcho::ReturnCode_NS_ERROR_NULL_POINTER (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnCode_NS_ERROR_NULL_POINTER ( void   )  [pure virtual]
void nsIEcho::ReturnCode_NS_ERROR_OUT_OF_MEMORY (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnCode_NS_ERROR_OUT_OF_MEMORY ( void   )  [pure virtual]
void nsIEcho::ReturnCode_NS_ERROR_UNEXPECTED (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnCode_NS_ERROR_UNEXPECTED ( void   )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnCode_NS_OK ( void   )  [pure virtual]
void nsIEcho::ReturnCode_NS_OK (  ) 
nsISupports nsIEcho::ReturnInterface ( in nsISupports  obj  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ReturnInterface ( nsISupports obj,
nsISupports **_retval  NS_OUTPARAM 
) [pure virtual]
void nsIEcho::SendInOutManyTypes ( inout octet  p1,
inout short  p2,
inout long  p3,
inout long long  p4,
inout octet  p5,
inout unsigned short  p6,
inout unsigned long  p7,
inout unsigned long long  p8,
inout float  p9,
inout double  p10,
inout boolean  p11,
inout char  p12,
inout wchar  p13,
inout nsIDPtr  p14,
inout string  p15,
inout wstring  p16 
)
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SendInOutManyTypes ( PRUint8 *p1  NS_INOUTPARAM,
PRInt16 *p2  NS_INOUTPARAM,
PRInt32 *p3  NS_INOUTPARAM,
PRInt64 *p4  NS_INOUTPARAM,
PRUint8 *p5  NS_INOUTPARAM,
PRUint16 *p6  NS_INOUTPARAM,
PRUint32 *p7  NS_INOUTPARAM,
PRUint64 *p8  NS_INOUTPARAM,
float *p9  NS_INOUTPARAM,
double *p10  NS_INOUTPARAM,
PRBool *p11  NS_INOUTPARAM,
char *p12  NS_INOUTPARAM,
PRUnichar *p13  NS_INOUTPARAM,
nsID **p14  NS_INOUTPARAM,
char **p15  NS_INOUTPARAM,
PRUnichar **p16  NS_INOUTPARAM 
) [pure virtual]
void nsIEcho::SendManyTypes ( in octet  p1,
in short  p2,
in long  p3,
in long long  p4,
in octet  p5,
in unsigned short  p6,
in unsigned long  p7,
in unsigned long long  p8,
in float  p9,
in double  p10,
in boolean  p11,
in char  p12,
in wchar  p13,
in nsIDPtr  p14,
in string  p15,
in wstring  p16 
)
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SendManyTypes ( PRUint8  p1,
PRInt16  p2,
PRInt32  p3,
PRInt64  p4,
PRUint8  p5,
PRUint16  p6,
PRUint32  p7,
PRUint64  p8,
float  p9,
double  p10,
PRBool  p11,
char  p12,
PRUnichar  p13,
const nsID p14,
const char *  p15,
const PRUnichar p16 
) [pure virtual]
void nsIEcho::SendOneString ( in string  str  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SendOneString ( const char *  str  )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SetAString ( const char *  aAString  )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SetReceiver ( nsIEcho aReceiver  )  [pure virtual]
void nsIEcho::SetReceiver ( in nsIEcho  aReceiver  ) 
void nsIEcho::SetReceiverReturnOldReceiver ( inout nsIEcho  aReceiver  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SetReceiverReturnOldReceiver ( nsIEcho **aReceiver  NS_INOUTPARAM  )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SetSomeValue ( PRInt32  aSomeValue  )  [pure virtual]
void nsIEcho::SharedString ( [retval, shared] out string  str  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SharedString ( const char **str  NS_OUTPARAM  )  [pure virtual]
void nsIEcho::SimpleCallNoEcho (  ) 
NS_SCRIPTABLE NS_IMETHOD nsIEcho::SimpleCallNoEcho ( void   )  [pure virtual]
NS_SCRIPTABLE NS_IMETHOD nsIEcho::ThrowArg ( void   )  [pure virtual]
void nsIEcho::throwArg (  ) 

Member Data Documentation

attribute string nsIEcho::aString
const PRUint32 nsIEcho::big = 0xFFFFFFFF
const short nsIEcho::five = 5
const PRUint32 nsIEcho::medium = 12345
const short nsIEcho::one = 1
const short nsIEcho::six = 6
attribute PRInt32 nsIEcho::SomeValue
readonly attribute short nsIEcho::throwInGetter

The documentation for this interface was generated from the following files: