C# Class GameCreatorGroupProject.ResourceClient

Inheritance: TCPClient
Exibir arquivo Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Public Properties

Property Type Description
serverType byte

Public Methods

Method Description
LoadResource ( ) : string
ResourceClient ( uint serverID ) : System
StringToByteArray ( string path ) : byte[]
connectClient ( string serverIP ) : void
disconnectClient ( ) : void
getClientType ( ) : int
send ( Object d ) : void

Private Methods

Method Description
ByteArrayToString ( byte bytes ) : string
getResourcePath ( ) : string

Method Details

LoadResource() public method

public LoadResource ( ) : string
return string

ResourceClient() public method

public ResourceClient ( uint serverID ) : System
serverID uint
return System

StringToByteArray() public method

public StringToByteArray ( string path ) : byte[]
path string
return byte[]

connectClient() public method

public connectClient ( string serverIP ) : void
serverIP string
return void

disconnectClient() public method

public disconnectClient ( ) : void
return void

getClientType() public method

public getClientType ( ) : int
return int

send() public method

public send ( Object d ) : void
d Object
return void

Property Details

serverType public_oe static_oe property

public static byte serverType
return byte