+

Search Tips | Advanced Search


WLProcedureInvocationData Class Reference

Inherits from NSObject
Declared in WLProcedureInvocationData.h

This class holds all data necessary for invoking a procedure, including:

  • The name of the adapter and procedure to invoke
  • Parameters required by the procedure


Tasks

        parameters
      	
      	property
      	
      
      	
      		

        – initWithAdapterName:procedureName:
        	
        	
        	
        
        	
        		

          – initWithAdapterName:procedureName:compressResponse:
          	
          	
          	
          
          	
          		


          Properties


          parameters

          Specifies the parameters property.

            @property (nonatomic, strong) NSArray *parameters
            
                
            	
            	
            	
            	
            	
            	
            	
            	
            


            Discussion

            Example:

                  WLProcedureInvocationData  *data = [WLProcedureInvocationData ......];
                  NSArray *myParams = [NSArray arrayWithObjects:param1, param2, param3, nil];
                  [data setParameters:myParams];
              


            Declared In

            WLProcedureInvocationData.h


            Instance Methods


            initWithAdapterName:procedureName:

            Initializes with the adapter name and the procedure name.

              - (id)initWithAdapterName:(NSString *)adapter procedureName:(NSString *)procedure
              
                  
              	
              	
              


              Parameters

                adapter

                Adapter name

                procedureName

                Adapter procedure name


              Declared In

              WLProcedureInvocationData.h


              initWithAdapterName:procedureName:compressResponse:

              Initializes with the adapter name and the procedure name.

                - (id)initWithAdapterName:(NSString *)theAdapter procedureName:(NSString *)theProcedure compressResponse:(BOOL)isCompressResponse
                
                    
                	
                	
                


                Parameters

                  theAdapter

                  Adapter name

                  theProcedure

                  Adapter procedure name

                  compressResponse

                  Specifies whether or not the response from the server must be compressed


                Declared In

                WLProcedureInvocationData.h


                setCompressResponse:

                Specifies whether or not the responses from the server must be compressed.

                  - (void)setCompressResponse:(BOOL)isCompressResponse
                  
                      
                  	
                  	
                  


                  Parameters

                    isCompressResponse

                    Specifies whether or not the response from the server must be compressed.


                  Discussion

                  The default value is false.


                  Declared In

                  WLProcedureInvocationData.h


                  © Copyright IBM Corp. 2017