com.ibm.dse.services.comms
Class Lu0Bind

java.lang.Object
  |
  +--com.ibm.dse.services.comms.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
           
 
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 application name is correct.
 java.lang.String checkBind()
          Checks bind.
 char[] getBind()
          Gets the bind property (byte[]) value.
 int inboundRuSize()
          Returns inbound ru size.
 boolean isHalfDuplexFlipFlop()
          Returns if is Half duplex flip-flop.
 boolean isHdxResetStateSend()
          Returns if half duplex reset state is send.
 boolean isInboundDefiniteResponse()
          Returns if is inbound definite response.
 boolean isInboundExceptionOrDefiniteResponse()
          .
 boolean isInboundExceptionResponse()
          Returns if is inbound exception response.
 boolean isInboundNoResponse()
          Returns if is inbound no 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 if is unconditional bracket termination.
 int outboundRuSize()
          Returns outbound ru size.
 boolean resetBetweenBracket()
          Returns if reset state between braket .
 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

COMPID

public static final java.lang.String COMPID
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 application name is correct.
Returns:
java.lang.String

checkBind

public java.lang.String checkBind()
Checks 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 inbound ru size.
Returns:
byte

isHalfDuplexFlipFlop

public boolean isHalfDuplexFlipFlop()
Returns if is Half duplex flip-flop.
Returns:
boolean

isHdxResetStateSend

public boolean isHdxResetStateSend()
Returns if half duplex reset state is send.
Returns:
boolean

isInboundDefiniteResponse

public boolean isInboundDefiniteResponse()
Returns if is inbound definite response.
Returns:
boolean

isInboundExceptionOrDefiniteResponse

public boolean isInboundExceptionOrDefiniteResponse()
. Returns if is inbound exception or definite response.
Returns:
boolean

isInboundExceptionResponse

public boolean isInboundExceptionResponse()
Returns if is inbound exception response.
Returns:
boolean

isInboundNoResponse

public boolean isInboundNoResponse()
Returns if is inbound no 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 if is unconditional bracket termination.
Returns:
boolean

outboundRuSize

public int outboundRuSize()
Returns outbound ru size.
Returns:
byte

resetBetweenBracket

public boolean resetBetweenBracket()
Returns if reset state between braket .
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()