src.com.ibm.as400.access.NetServerConnection Maven / Gradle / Ivy
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: NetServerConnection.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.access;
import com.ibm.as400.resource.*;
import com.ibm.as400.data.PcmlException;
import com.ibm.as400.data.ProgramCallDocument;
import java.beans.PropertyVetoException;
import java.util.Vector;
/**
The NetServerConnection class represents a NetServer share connection.
Note: A session (represented by class {@link NetServerSession NetServerSession}) corresponds to a workstation. A workstation could be a Windows Terminal Server or it could be a single PC on someone's desktop. A connection (represented by this class) corresponds to a specific user who has mapped a drive and has files opened or spooled output on a print queue. Since a session can have multiple users, a connection shows a particular user's statistics on that session.
NetServerConnection objects are created and returned by the following methods:
- {@link NetServer#listSessionConnections() NetServer.listSessionConnections}
- {@link NetServer#listShareConnections() NetServer.listShareConnections}
- {@link NetServerShare#listConnections() NetServerShare.listConnections}
- {@link NetServerSession#listConnections() NetServerSession.listConnections}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy