IBM Branch Transformation Toolkit Javadoc

com.ibm.connector2.sna.lu0.host
Class Lu0Bind

java.lang.Object
  extended bycom.ibm.connector2.sna.lu0.host.Lu0Bind

public class Lu0Bind
extends java.lang.Object

This Lu0Bind class represents a bind command. It is used internally to check the bind protocols.


Field Summary
static java.lang.String COMPID
           
(package private)  char[] fieldBind
           
 
Constructor Summary
Lu0Bind()
           
 
Method Summary
 boolean bracketUsed()
          Returns if the bracket is used.
 java.lang.String checkApplicationName(java.lang.String hostApplicationName, java.lang.String codeSet)
          Checks if the application name is correct.
 java.lang.String checkBind()
          Checks the bind.
 char[] getBind()
          Gets the bind property (byte[]) value.
 int inboundRuSize()
          Returns the inbound Ru size.
 boolean isFullDuplex()
          Returns true if there is a Full Duplex.
 boolean isHalfDuplexContention()
          Returns true if there is a Half Duplex Contention.
 boolean isHalfDuplexFlipFlop()
          Returns true if there is a Half Duplex flip-flop.
 boolean isHdxResetStateSend()
          Returns true if the Half Duplex Reset state is "send".
 boolean isInboundDefiniteResponse()
          Returns true if there is an inbound definite response.
 boolean isInboundExceptionOrDefiniteResponse()
          .
 boolean isInboundExceptionResponse()
          Returns true if there is an inbound exception response.
 boolean isInboundNoResponse()
          Returns true if there is no inbound response.
 boolean isLu0()
          Byte 14: bit 0 PS Usage field format: 0 basic format (only value defined) bits 1-7 LU type: 0000000 LU type 0 0000001 LU type 1 0000010 LU type 2 0000011 LU type 3
 boolean isUnconditionalBracketTermination()
          Returns true if there is an unconditional bracket termination.
 int outboundRuSize()
          Returns outbound Ru size.
 boolean resetBetweenBracket()
          Returns true if there is a reset state between the brackets.
 void setBind(char[] bind)
          Sets the bind property (byte[]) value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldBind

char[] fieldBind

COMPID

public static final java.lang.String COMPID
See Also:
Constant Field Values
Constructor Detail

Lu0Bind

public Lu0Bind()
Method Detail

bracketUsed

public boolean bracketUsed()
Returns if the bracket is used.

Returns:
boolean

checkApplicationName

public java.lang.String checkApplicationName(java.lang.String hostApplicationName,
                                             java.lang.String codeSet)
Checks if the application name is correct.

Returns:
java.lang.String

checkBind

public java.lang.String checkBind()
Checks the bind.

Returns:
boolean

getBind

public char[] getBind()
Gets the bind property (byte[]) value.

Returns:
The bind property value.
See Also:
setBind(char[])

inboundRuSize

public int inboundRuSize()
Returns the inbound Ru size.

Returns:
byte

isFullDuplex

public boolean isFullDuplex()
Returns true if there is a Full Duplex.

Returns:
boolean

isHalfDuplexContention

public boolean isHalfDuplexContention()
Returns true if there is a Half Duplex Contention.

Returns:
boolean

isHalfDuplexFlipFlop

public boolean isHalfDuplexFlipFlop()
Returns true if there is a Half Duplex flip-flop.

Returns:
boolean

isHdxResetStateSend

public boolean isHdxResetStateSend()
Returns true if the Half Duplex Reset state is "send".

Returns:
boolean

isInboundDefiniteResponse

public boolean isInboundDefiniteResponse()
Returns true if there is an inbound definite response.

Returns:
boolean

isInboundExceptionOrDefiniteResponse

public boolean isInboundExceptionOrDefiniteResponse()
. Returns true if there is an inbound exception or definite response.

Returns:
boolean

isInboundExceptionResponse

public boolean isInboundExceptionResponse()
Returns true if there is an inbound exception response.

Returns:
boolean

isInboundNoResponse

public boolean isInboundNoResponse()
Returns true if there is no inbound response.

Returns:
boolean

isLu0

public boolean isLu0()
Byte 14: bit 0 PS Usage field format: 0 basic format (only value defined) bits 1-7 LU type: 0000000 LU type 0 0000001 LU type 1 0000010 LU type 2 0000011 LU type 3

Returns:
boolean

isUnconditionalBracketTermination

public boolean isUnconditionalBracketTermination()
Returns true if there is an unconditional bracket termination.

Returns:
boolean

outboundRuSize

public int outboundRuSize()
Returns outbound Ru size.

Returns:
byte

resetBetweenBracket

public boolean resetBetweenBracket()
Returns true if there is a reset state between the brackets.

Returns:
boolean

setBind

public void setBind(char[] bind)
Sets the bind property (byte[]) value.

Parameters:
bind - The new value for the property.
See Also:
getBind()

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005