com.sap.conn.jco
Interface JCoUnitIdentifier

All Superinterfaces:
java.io.Serializable

public interface JCoUnitIdentifier
extends java.io.Serializable

Function unit identifier is a unique identifier for a function or request unit for bgRFC. It contains an 16 byte ID (32 char in HEX representation) and unit type.

Note: The implementation for this interface provided by the JCo runtime. Other implementations are not supported.


Nested Class Summary
static class JCoUnitIdentifier.Type
          BgRFC unit types: TYPE_T - exactly once TYPE_Q - exactly once in order
 
Method Summary
 java.lang.String getID()
          Returns the hexadecimal representation of the unit ID.
 byte[] getIDAsBytes()
          Returns the unit ID.
 JCoUnitIdentifier.Type getType()
          Returns the type of the unit
 

Method Detail

getID

java.lang.String getID()
Returns the hexadecimal representation of the unit ID. The unit ID is 16 bytes long, so the string is 32 chars long.

Returns:
32 chars string

getIDAsBytes

byte[] getIDAsBytes()
Returns the unit ID.

Returns:
16 byte unit id

getType

JCoUnitIdentifier.Type getType()
Returns the type of the unit

Returns:
unit type


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