com.sap.conn.jco.server
Enum JCoServerCallType

java.lang.Object
  extended by java.lang.Enum<JCoServerCallType>
      extended by com.sap.conn.jco.server.JCoServerCallType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JCoServerCallType>

public enum JCoServerCallType
extends java.lang.Enum<JCoServerCallType>

Describes all types of requests a server can receive via RFC from the ABAP client.


Enum Constant Summary
BACKGROUND_TASK
          The call represents an asynchronous request with exactly once semantics, either tRFC or qRFC
BACKGROUND_UNIT
          The call represents an asynchronous request with exactly once semantics, a bgRFC
SYNCHRONOUS
          The call represents a standard synchronous request
 
Method Summary
static JCoServerCallType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JCoServerCallType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SYNCHRONOUS

public static final JCoServerCallType SYNCHRONOUS
The call represents a standard synchronous request


BACKGROUND_TASK

public static final JCoServerCallType BACKGROUND_TASK
The call represents an asynchronous request with exactly once semantics, either tRFC or qRFC


BACKGROUND_UNIT

public static final JCoServerCallType BACKGROUND_UNIT
The call represents an asynchronous request with exactly once semantics, a bgRFC

Method Detail

values

public static JCoServerCallType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JCoServerCallType c : JCoServerCallType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JCoServerCallType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2008-2014 SAP AG. All Rights Reserved.