// Copyright 1997-2002 Omni Development, Inc.  All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// http://www.omnigroup.com/DeveloperResources/OmniSourceLicense.html.
//
// $Header: /Network/Source/CVS/OmniGroup/Frameworks/OWF/Content.subproj/Address.subproj/OWNetLocation.h,v 1.8 2002/03/09 01:53:51 kc Exp $

#import <OmniFoundation/OFObject.h>

@interface OWNetLocation : OFObject
{
    NSString *username;
    NSString *password;
    NSString *hostname;
    NSString *port;

    NSString *shortDisplayName;
}

+ (OWNetLocation *)netLocationWithString:(NSString *)aNetLocation;
- initWithUsername:(NSString *)aUsername password:(NSString *)aPassword hostname:(NSString *)aHostname port:(NSString *)aPort;

- (NSString *)username;
- (NSString *)password;
- (NSString *)hostname;
- (NSString *)port;

- (NSString *)hostnameWithPort;
- (NSString *)displayString;
- (NSString *)shortDisplayString;

@end
