Ice.ConnectionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.6.4
//
//
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
/**
* Base class providing access to the connection details. *
**/
public class ConnectionInfo implements java.lang.Cloneable
{
public ConnectionInfo()
{
adapterName = "";
connectionId = "";
}
public ConnectionInfo(boolean incoming, String adapterName, String connectionId, int rcvSize, int sndSize)
{
this.incoming = incoming;
this.adapterName = adapterName;
this.connectionId = connectionId;
this.rcvSize = rcvSize;
this.sndSize = sndSize;
}
/**
* Whether or not the connection is an incoming or outgoing
* connection.
*
**/
public boolean incoming;
/**
* The name of the adapter associated with the connection.
*
**/
public String adapterName;
/**
* The connection id.
*
**/
public String connectionId;
/**
* The connection buffer receive size.
*
**/
public int rcvSize;
/**
* The connection buffer send size.
*
**/
public int sndSize;
public ConnectionInfo
clone()
{
ConnectionInfo c = null;
try
{
c = (ConnectionInfo)super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return c;
}
public static final long serialVersionUID = -2339152520008115694L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy