The Artima Developer Community
Sponsored Link

Java Answers Forum
Java.nio

1 reply on 1 page. Most recent reply: Oct 5, 2006 4:05 AM by sathish rontala

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Chris Maguire

Posts: 4
Nickname: lulu
Registered: Jun, 2002

Java.nio Posted: Jun 11, 2002 10:44 PM
Reply to this message Reply
Advertisement
Can I register a channel from one thread with a Selector in another thread?

I've managed to put the channel in a linked list and access the list from another thread (pulling off the channel and registering it there) but I can't register it directly.

The reason I want to register it directly is that I have an object I want to attach to the channel+selector key and the object is only available in the one thread.

Tia, Chris.


sathish rontala

Posts: 1
Nickname: skrontala
Registered: Oct, 2006

Re: Java.nio Posted: Oct 5, 2006 4:05 AM
Reply to this message Reply
Hi Chris

I think your working on Java.nio packages
so can i share your knowledge , why because iam also working on that so please help me , now i am writing a small UDPEchoServer which reads and writes the data , for
this i have to use DatagramChannels and Selectors

so please help me

sathish
sathish.rontala@anovatek.com

Flat View: This topic has 1 reply on 1 page
Topic: Reading an array of strings Previous Topic   Next Topic Topic: Arithmetic Expression Evaluation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use