CICS® Transaction Gateway Programming Reference v7.2.0.1

com.ibm.ctg.util
Class OriginData

java.lang.Object
  extended by com.ibm.ctg.util.OriginData

public class OriginData
extends java.lang.Object


Constructor Summary
OriginData(java.lang.String applid, java.lang.String applidQualifier, java.lang.String transId, java.lang.String userId, java.net.InetAddress ipAddr, int port)
          Builds a new OriginData based on the information provided and the time that his object was created.
 
Method Summary
 java.lang.String getApplid()
           
 java.lang.String getApplidQualifier()
           
 java.net.InetAddress getClientIpaddr()
           
 int getClientPort()
           
 java.lang.String getIpAddrFamily()
           
 byte[] getPrincipalFacilityType()
           
 long getStartStck()
           
 byte[] getTransGroupId()
           
 java.lang.String getTransId()
           
 java.lang.String getUserid()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OriginData

public OriginData(java.lang.String applid,
                  java.lang.String applidQualifier,
                  java.lang.String transId,
                  java.lang.String userId,
                  java.net.InetAddress ipAddr,
                  int port)
Builds a new OriginData based on the information provided and the time that his object was created.

Parameters:
applid - The applid of the process starting the transaction
applidQualifier - The applid qualifier of the process starting the transaction
transId - The mirror transaction to be used in CICS
userId - The user id that has been set for this request
ipAddr - The IP address of the process starting the transaction
port - The port of the process starting the transaction
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getApplid

public java.lang.String getApplid()
Returns:
The applid from the Origin Data

getClientIpaddr

public java.net.InetAddress getClientIpaddr()
Returns:
The IP address from which the transaction was started.

getClientPort

public int getClientPort()
Returns:
The port from which the transaction was started.

getIpAddrFamily

public java.lang.String getIpAddrFamily()
Returns:
The IP address family

getApplidQualifier

public java.lang.String getApplidQualifier()
Returns:
The applid qualifier from the Origin Data

getPrincipalFacilityType

public byte[] getPrincipalFacilityType()
Returns:
The Principal Facility Type of this Origin Data

getStartStck

public long getStartStck()
Returns:
The Store Clock for when the Origin Data was created

getTransGroupId

public byte[] getTransGroupId()
Returns:
The Transaction Group ID for the Origin Data

getTransId

public java.lang.String getTransId()
Returns:
The Mirror transaction used in CICS to run the DPL

getUserid

public java.lang.String getUserid()
Returns:
The userid stored in the Origin Data

©Copyright IBM Corp. 1994, 2009
Legal