Re: [xSocket-develop] How to create nbc with name from String variable?
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-12-10 11:54:33
|
Hi sly, as a static typed language java requires that the type of a variable is defined at declaration time. This variable can only be set with the data of the declared type. This means you can not set the string-typed variable with an object of type NonBlockingConnection. Gregor 2008/12/10 <jun...@wp...> > Hi, > > Is it possible to use string from a string variable as a name for new > created nbc? What method should I use? > > String name = "nbc"; > > name = new NonBlockingConnection(...) // name should be "nbc" > > regards, > sly > > ---------------------------------------------------- > Skąd pochodzi Twoje nazwisko? > Sprawdź sam, kliknij: > > http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fbliscy.html&sid=565 > > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |