What is ZTOCK
ZTOCK Mean Simple application design for implement publisher subscriber model.
How to That application work ?
Mainly that application contain 3 main parts
ZTOCK client
ZTOCK server
ZTOCK pub (like as publisher)
ZTOCK client User Guide:
1. How to install application on your computer:
You must want install JDK on your device. That application run on the JDK Platform binary.
You Must Want Copy Support Files (lib) To Your Default java Directory.
>>Example: Copy lib files to your JDK lib folder (fallow below path)
>>C: //Program
>>AbsoluteLayout.jar
ZTOCK User Guide
Don’t remove any files come with the application. Make sure that files are in the same folder application located
>>Account.ZTOCK >>Bidding_Success.ZTOCK >>Can_Backup.ZTOCK >>Quick_guide.ZTOCK >>Requirements.ZTOCK >>Solutions.ZTOCK
.ZTOCK is .txt file format working with our client application. Don’t edit files because that files want to perform some actions in the application.
2.System Requirement
Windows Version: Windows 7 OR Above.
Other: Java JDK Must Be Run On the Device
JDK Version: SE Runtime Environment (build
RAM: 50 MB > = 100MB
Storage: 10MB Minimum Storage Required
Connectivity:
3.Get Started
Before you log in the system, you need to create local user account.
ZTOCK User Guide
After you fill requested fields press submit button for register. If you done correct system give you ZTOCK ID. Now press login button and Log into the system.
After you login system create a cache file for you. That file contain your details of you. There for two peoples can’t login to the system using same application in same time. Because that cache file store single value in the same time.
ZTOCK User Guide
You’re Profile Session
Bidding Home
Help Center
About Us
Logout
My Profile Session
Previous
Bidding History
Account Details |
Fig(1) : Export Account |
|
Details To .txt File |
ZTOCK User Guide
Example for Fig(01)
Your details store in .txt file same name of your ZTOCK ID. That file will store in same directory store in the
application
You can back up your current account details using that tool and you can update that details using that MY ACCOUNT session.
You Can see your pervious bidding history using that Session.
ZTOCK User Guide
Bidding Home Section
That is main and most important session in this application. That section allow to user make new biddings and subscribe, unsubscribe items.
When you access to this section. Application give you a unique temporary User ID
Ex : your user name + temp User name = USER ID
After access to this section you can connect to bidding server using valid IP address. And press Connect after connect you can subscribe Items and press Subscribe Button. You finished main steps now. After fallow this steps you can bid for items. If you add lower price than current price that bid is ignored. However server provide messages for you. Visit help section for more details.
ZTOCK User Guide
Examples:
My Subscriptions
ZTOCK User Guide
Zstock Server User Guide
Bidding home
Connection status
Admin Details |
Exit |
Update bid item details
About Us
ZTOCK User Guide
Bidding Home
Side of the bidding home we can see bidding item table with their all details (Symbol, Price, Security, Profit)
Start bidding
This happens when server is running |
Static view |
Save bidding details as text files
ZTOCK User Guide
Started Bidding
When client do bidding in this terminal we can see all the details. And server maintain
.txt files for Every Bidding Symbols.
As example: Consider AAL.txt File contain all names of clients bid for AAL symbol
Another option is server maintain accepts bidding data and reject bidding data Example: contain of accept_log.txt (contain all accepted data)
ZTOCK User Guide
Save bidding details
When user click SAVE LOG button according to that date text file create in sever folder.
Example:
ZTOCK User Guide
Static view
When we click eye mark in bidding home we can see static view. In here we can see who won the bid and who lost, accepted bids and trashed bids.
Connection status
In here we can see all the details of servers’ connection status. (Date, Time, Device IP address, Database Status, Port Address and Network Connection)
ZTOCK User Guide
Admin details
In there we can add new admin using ADD button. We can view admins details using VIEW button
Update bid item details
In here we can see connection of data base status. Also we can update bidding item details using UPDATE button and we can remove bidding item details using REMOVE button.
ZTOCK User Guide
The details we can update and remove in bidding items.
∙Symbol
∙Price
∙Security
∙Profit
ZTOCK User Guide
Zstock Publisher User Guide
Organization registration |
Exit |
Organization details
Bidding updates
Organization registration
ZTOCK User Guide
In here we can register organizations using Register button. We have to enter company name, company code, price, security number, add profit. Also we can see server connection status in here. That register details store locally and server database.
Organization details
In here we can see organization bidding profits and details about company (organization name, organization code, price, profit, security code). Using Update Profit button we can update profits. Here also we can see server connection status.
Bidding updates
In here we can see server address, connection status, my stock id, current price. There is a special option called See live updates. Using See Live Updates button we can see live bidding updates in bidding time (5 minutes). Those updates will visible in terminal which in left side.
ZTOCK User Guide
ZTOCK User Guide