All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zeroc.Ice.UDPConnectionInfo Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.9
//
// 
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
// 
//

package com.zeroc.Ice;

/**
 * Provides access to the connection details of a UDP connection
 **/
public class UDPConnectionInfo extends IPConnectionInfo
{
    public UDPConnectionInfo()
    {
        super();
        this.mcastAddress = "";
        this.mcastPort = -1;
        this.rcvSize = 0;
        this.sndSize = 0;
    }

    public UDPConnectionInfo(ConnectionInfo underlying, boolean incoming, String adapterName, String connectionId, String localAddress, int localPort, String remoteAddress, int remotePort, String mcastAddress, int mcastPort, int rcvSize, int sndSize)
    {
        super(underlying, incoming, adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort);
        this.mcastAddress = mcastAddress;
        this.mcastPort = mcastPort;
        this.rcvSize = rcvSize;
        this.sndSize = sndSize;
    }

    /**
     * The multicast address.
     **/
    public String mcastAddress;

    /**
     * The multicast port.
     **/
    public int mcastPort;

    /**
     * The connection buffer receive size.
     **/
    public int rcvSize;

    /**
     * The connection buffer send size.
     **/
    public int sndSize;

    public UDPConnectionInfo clone()
    {
        return (UDPConnectionInfo)super.clone();
    }

    /** @hidden */
    public static final long serialVersionUID = -8596817245040015144L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy