Hello all,
I have developed a bot engine to simulate heavy population on our application. It's small java app which open sockets to SFS in order to simulate the flash client. It's working fine. I have now been mandated to tranform the app into a SFS extension to have a single entity.
Now it's time to ask the question. Is there a restricted thread to dispatch event to the client or it can be done from any specific thread? I know SFS use a thread pool but I'm not sure if it's safe to communicate with my currently working extension from an external thread.
Thoughts?
SFS thread
I have developed a bot engine to simulate heavy population on our application. It's small java app which open sockets to SFS in order to simulate the flash client. It's working fine. I have now been mandated to tranform the app into a SFS extension to have a single entity.
You could look into our Java API, they provide full access to all client side functionality --> http://www.smartfoxserver.com/labs/API/
Now it's time to ask the question. Is there a restricted thread to dispatch event to the client or it can be done from any specific thread? I know SFS use a thread pool but I'm not sure if it's safe to communicate with my currently working extension from an external thread.
I am not following. Are you talking about your (SFS) server side code?
If so, this document will clarify -> http://www.smartfoxserver.com/docs/docP ... Safety.htm
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 51 guests