com.thomsonreuters.ema.access.CosCommon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ema Show documentation
Show all versions of ema Show documentation
Enterprise Message API (EMA) Java Edition
/*|-----------------------------------------------------------------------------
*| This source code is provided under the Apache 2.0 license --
*| and is provided AS IS with no warranty or guarantee of fit for purpose. --
*| See the project's LICENSE.md for details. --
*| Copyright Thomson Reuters 2015. All rights reserved. --
*|-----------------------------------------------------------------------------
*/
package com.thomsonreuters.ema.access;
/*
* CosCommon describes common options related to the exchange of messages.
*/
public interface CosCommon {
/*
* Clears the CosCommon object
*/
public CosCommon clear();
/*
* Specifies the maximum size of messages exchanged on the tunnel stream.
*/
public CosCommon maxMsgSize(int maxMsgSize);
/*
* Returns the maximum message size assigned by the provider accepting the tunnel stream request.
*/
public int maxMsgSize();
}