public class CosCommon
extends java.lang.Object
ClassOfService,
ClassesOfService| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_FRAGMENT_SIZE |
static int |
DEFAULT_MAX_MSG_SIZE |
static int |
SUPPS_FRAGMENTATION |
| Constructor and Description |
|---|
CosCommon() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the CosCommon for re-use.
|
int |
maxFragmentSize()
Returns the maximum fragment size.
|
void |
maxFragmentSize(int maxFragmentSize)
Sets the maximum fragment size.
|
int |
maxMsgSize()
Returns the maximum message size.
|
void |
maxMsgSize(int maxMsgSize)
Sets the maximum message size.
|
int |
protocolMajorVersion()
Returns the protocol major version of the TunnelStream.
|
void |
protocolMajorVersion(int protocolMajorVersion)
Sets the protocol major version of the TunnelStream.
|
int |
protocolMinorVersion()
Returns the protocol minor version of the TunnelStream.
|
void |
protocolMinorVersion(int protocolMinorVersion)
Sets the protocol minor version of the TunnelStream.
|
int |
protocolType()
Returns the protocol type of the TunnelStream.
|
void |
protocolType(int protocolType)
Sets the protocol type of the TunnelStream.
|
public static final int DEFAULT_MAX_MSG_SIZE
public static final int DEFAULT_MAX_FRAGMENT_SIZE
public static final int SUPPS_FRAGMENTATION
public int maxMsgSize()
public void maxMsgSize(int maxMsgSize)
maxMsgSize - the max msg sizepublic int maxFragmentSize()
public void maxFragmentSize(int maxFragmentSize)
maxFragmentSize - the max fragment sizepublic int protocolType()
public void protocolType(int protocolType)
protocolType - the protocol typepublic int protocolMajorVersion()
public void protocolMajorVersion(int protocolMajorVersion)
protocolMajorVersion - the protocol major versionpublic int protocolMinorVersion()
public void protocolMinorVersion(int protocolMinorVersion)
protocolMinorVersion - the protocol minor versionpublic void clear()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.