com.sun.jini.reggie
Class RegistrarImpl.SocketTask

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl.SocketTask
All Implemented Interfaces:
TaskManager.Task, Runnable
Enclosing class:
RegistrarImpl

private final class RegistrarImpl.SocketTask
extends Object
implements TaskManager.Task

Socket for unicast discovery response.


Field Summary
 Socket socket
          The socket
 
Constructor Summary
RegistrarImpl.SocketTask(Socket socket)
          Simple constructor
 
Method Summary
 void run()
          Process a unicast discovery request
 boolean runAfter(List tasks, int size)
          No ordering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

public final Socket socket
The socket

Constructor Detail

RegistrarImpl.SocketTask

public RegistrarImpl.SocketTask(Socket socket)
Simple constructor

Method Detail

run

public void run()
Process a unicast discovery request

Specified by:
run in interface Runnable

runAfter

public boolean runAfter(List tasks,
                        int size)
No ordering

Specified by:
runAfter in interface TaskManager.Task
Parameters:
tasks - the tasks to consider. A read-only List, with all elements instanceof Task.
size - elements with index less than size should be considered


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.