Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.ServerDetailsLoader Class Reference

Class responsible for serializing/deserializing server details to/from isolated storage. More...

Inheritance diagram for PushTechnology.DiffusionCore.Connection.ServerDetailsLoader:
PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader

Public Member Functions

 ServerDetailsLoader (string fileName)
 Constructor. More...
 
 ServerDetailsLoader ()
 Constructors More...
 
- Public Member Functions inherited from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader
bool PreferenceFileExists ()
 Determines whether the preferences file already exists. More...
 
void Load ()
 Responsible for loading details from Isolated Storage. More...
 
void Save ()
 Responsible for persisting details to Isolated Storage. More...
 

Protected Member Functions

override void CreateInitialDetails (IFormatter formatter, Stream stream)
 Create the initial set of details. More...
 
override void DeserializeDetails (IFormatter formatter, Stream stream)
 Deserialize the details from isolated storage. More...
 
override void SerializeDetails (IFormatter formatter, Stream stream)
 Serialize the details to isolated storage. More...
 
- Protected Member Functions inherited from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader
 BaseDetailsLoader (string fileName)
 Constructor. More...
 

Properties

List< KeyValuePair< string,
ServerDetailsImpl > > 
ServerDetails [get, set]
 Get/set the server details. Can be null if deserialization has not been performed. More...
 
- Properties inherited from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader
string Filename [get, set]
 Get/set the name of the file to use in Isolated Storage. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader
static void ClearAll (string prefix)
 Clears all isolated storage information for the given application; relies on each file containing a certain prefix, i.e. 'ExternalClient'. More...
 

Detailed Description

Class responsible for serializing/deserializing server details to/from isolated storage.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.ServerDetailsLoader ( string  fileName)

Constructor.

Parameters
fileName
PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.ServerDetailsLoader ( )

Constructors

Member Function Documentation

override void PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.CreateInitialDetails ( IFormatter  formatter,
Stream  stream 
)
protectedvirtual

Create the initial set of details.

Parameters
formatter
stream

Reimplemented from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.

override void PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.DeserializeDetails ( IFormatter  formatter,
Stream  stream 
)
protectedvirtual

Deserialize the details from isolated storage.

Parameters
formatter
stream

Reimplemented from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.

override void PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.SerializeDetails ( IFormatter  formatter,
Stream  stream 
)
protectedvirtual

Serialize the details to isolated storage.

Parameters
formatter
stream

Reimplemented from PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.

Property Documentation

List<KeyValuePair<string, ServerDetailsImpl> > PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.ServerDetails
getset

Get/set the server details. Can be null if deserialization has not been performed.