com.zeroc.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) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.8
//
//
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
//
//
package com.zeroc.Ice;
/**
* Base class providing access to the connection details.
**/
public class ConnectionInfo implements java.lang.Cloneable
{
public ConnectionInfo()
{
this.adapterName = "";
this.connectionId = "";
}
public ConnectionInfo(ConnectionInfo underlying, boolean incoming, String adapterName, String connectionId)
{
this.underlying = underlying;
this.incoming = incoming;
this.adapterName = adapterName;
this.connectionId = connectionId;
}
/**
* The information of the underyling transport or null if there's
* no underlying transport.
**/
public ConnectionInfo underlying;
/**
* 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;
public ConnectionInfo clone()
{
ConnectionInfo c = null;
try
{
c = (ConnectionInfo)super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return c;
}
/** @hidden */
public static final long serialVersionUID = -8138441397879390442L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy